From f4df63b153f1995606d475124702104f2ed182d3 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 14 Apr 2012 13:12:54 +0200 Subject: [PATCH] Bug 5795 [SIGNED-OFF] - Missing ReservesControlBranch system pref in database installer sysprefs.sql file was missing ReservesControlBranch. To test: 1) Create a new installation and check sysprefs.sql loads correctly. 2) Check ReservesControlBranch shows up correctly in the sys pref editor. 3) Check sys pref can be edited and new value saves correctly. Signed-off-by: Marc Veron - Line is added at the end of installer/data/mysql/sysprefs.sql - Tested Line diretly in MySQL with a systempreferences table where variable 'ReservesControlBranch' was missing. Data inserted correctly. - Syspref shows up in Staff client Signed-off-by: Chris Cormack - Fixed merge conflict Conflicts: installer/data/mysql/sysprefs.sql Signed-off-by: Chris Cormack - Tidied for 3.8.x --- installer/data/mysql/sysprefs.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 49debd2da0..6fb4c5fea3 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -362,3 +362,5 @@ INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES(' INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('AutoResumeSuspendedHolds', '1', NULL , 'Allow suspended holds to be automatically resumed by a set date.', 'YesNo'); INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OpacStarRatings','all',NULL,'disable|all|details','Choice'); INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacBrowseResults','1','Disable/enable browsing and paging search results from the OPAC detail page.',NULL,'YesNo'); +INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('ReservesControlBranch','PatronLibrary','ItemHomeLibrary|PatronLibrary','Branch checked for members reservations rights','Choice'); + -- 2.39.2