From 14b4b5c37583565d7de020efcab41faa487823e5 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 Signed-off-by: Martin Renvoize --- .../data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl | 4 ++-- .../prog/en/modules/admin/preferences/circulation.pref | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl b/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl index 5c6cb265ba6..b1ac49d1a13 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 291c6ccec6b..e1dca2d2b13 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 @@ -1135,7 +1135,7 @@ Circulation: 1: block 0: allow - renewing of items from the staff interface and via the misc/cronjobs/automatic_renewals.pl cronjob. - Fines policy: + Fines Policy: - - pref: finesCalendar type: choice -- 2.34.1