From 2c4847624f43b80c0c4a774277423eb03d280a6b Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 8 Aug 2022 21:18:19 +0000 Subject: [PATCH] Bug 30200: (follow-up) Update database update and pref description * Rephrases the system preference description a bit * Adds IGNORE to the database statement * Update output message of database statement to include pref name Signed-off-by: Katrin Fischer --- .../data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl | 4 ++-- .../prog/en/modules/admin/preferences/circulation.pref | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl b/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl index 5c6cb265ba..b1ac49d1a1 100644 --- a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl +++ b/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl @@ -2,13 +2,13 @@ use Modern::Perl; return { bug_number => "30200", - description => "Add customizable tabs to interlibrary loan requests list", + description => "Add ILLRequestsTabs system preference", up => sub { my ($args) = @_; my ($dbh, $out) = @$args{qw(dbh out)}; # Do you stuffs here $dbh->do(q{ - INSERT INTO `systempreferences` + INSERT IGNORE INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref index 5d1c602830..d76ec9839b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -996,12 +996,12 @@ Circulation: class: multi - (separated with |). If left empty, all installed backends will be enabled. - - - "Add customizable tabs to interlibrary loan requests list:" + - "Add customizable tabs to the interlibrary loan requests list:" - pref: ILLRequestsTabs syntax: text/x-yaml class: code type: textarea - - "This is a list that defines tab names and statuses that will be sorted under that tab.

" + - "This allows to define tabs with their description and linked ILL request statuses that will appear under the tab.

" - "Examples:
" - "
- name: Closed
" - "
  status:
" -- 2.30.2