From 5e83bcac7c3502e50375b2e29ae624babcaccd0d Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 21 Mar 2023 22:04:09 -1000 Subject: [PATCH] Bug 33297: Fix typo system preference RetainPatronSearchTerms in DB revs 220600044.pl Bug 26247 added system preference RetainPatronsSearchTerms. There is a typo in DB revs 220600044.pl : RetainPatronSearchTerms instead of RetainPatronsSearchTerms. Test plan : Upgrade from 22.05 to 22.11 and check there is a system preference named 'RetainPatronsSearchTerms' --- installer/data/mysql/db_revs/220600044.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/db_revs/220600044.pl b/installer/data/mysql/db_revs/220600044.pl index 6e60342dcf..ce60d6f6d5 100755 --- a/installer/data/mysql/db_revs/220600044.pl +++ b/installer/data/mysql/db_revs/220600044.pl @@ -10,7 +10,7 @@ return { $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('RetainCatalogSearchTerms', '1', NULL, 'If enabled, searches entered into the catalog search bar will be retained', 'YesNo') }); say $out "Added new system preference 'RetainCatalogSearchTerms'"; - $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('RetainPatronSearchTerms', '1', NULL, 'If enabled, searches entered into the checkout and patrons search bars will be retained', 'YesNo') }); - say $out "Added new system preference 'RetainPatronSearchTerms'"; + $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('RetainPatronsSearchTerms', '1', NULL, 'If enabled, searches entered into the checkout and patrons search bars will be retained', 'YesNo') }); + say $out "Added new system preference 'RetainPatronsSearchTerms'"; }, }; -- 2.39.0