From 247f2e23dec84fb2e0c751c261c3c71c30c29e61 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' Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c5bf76b19eb0e0264c13f08dc7abe14f02feb41c) Signed-off-by: Pedro Amorim --- 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.5