From 8afa23781d232ccc747c3f5e225ca7aa4d494b6f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 23 May 2024 15:14:51 +0000 Subject: [PATCH] Bug 36665: (follow-up) Default preference to enabled While this is a new preference, this was the standard behavior for a long time. I think we should default to enabled to restore previous behavior. Signed-off-by: Katrin Fischer (cherry picked from commit e48e3d02f301ecf9402812120ca333c91d84d5c5) Signed-off-by: Fridolin Somers (cherry picked from commit a479192e6745e6f452c0f2b08ce0ff473f19135c) Signed-off-by: Lucas Gass --- installer/data/mysql/mandatory/sysprefs.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index c853845ad0..3f159800c5 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -690,7 +690,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('StaffHighlightedWords','1','','Highlight search terms on staff interface','YesNo'), ('StaffLangSelectorMode','footer','top|both|footer','Select the location to display the language selector in staff interface','Choice'), ('StaffLoginInstructions', '', NULL, 'HTML to go into the login box for the staff interface','Free'), -('StaffLoginBranchBasedOnIP', '0','', 'Set the logged in library for the user based on their current IP','YesNo'), +('StaffLoginBranchBasedOnIP', '1','', 'Set the logged in library for the user based on their current IP','YesNo'), ('StaffSearchResultsDisplayBranch','holdingbranch','holdingbranch|homebranch','Controls the display of the home or holding branch for staff search results','Choice'), ('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the staff interface','Integer'), ('StaticHoldsQueueWeight','0',NULL,'Specify a list of library location codes separated by commas -- the list of codes will be traversed and weighted with first values given higher weight for holds fulfillment -- alternatively, if RandomizeHoldsQueueWeight is set, the list will be randomly selective','Integer'), -- 2.39.5