From 60a3a8f63d942aa591c83a9c75945f6c335f5d57 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 Content-Type: text/plain; charset="utf-8" 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 --- installer/data/mysql/sysprefs.sql | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 49debd2..940249e 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -362,3 +362,4 @@ 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'); \ No newline at end of file -- 1.7.2.5