Bug 28854: Add default AV and Syspref values

This patch adds the new AV and System Preferences to the installer.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2022-06-20 10:18:08 +01:00 committed by Tomas Cohen Arazi
parent 2758b572ee
commit 5b4e36b39a
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 10 additions and 0 deletions

View File

@ -106,6 +106,10 @@ tables:
authorised_value: "4"
lib : "Missing"
- category: "LOST"
authorised_value: "5"
lib : "Missing from bundle"
# damaged status of an item
- category: "DAMAGED"
authorised_value: "1"
@ -183,6 +187,10 @@ tables:
authorised_value: "2"
lib: "Staff Collection"
- category: "NOT_LOAN"
authorised_value: "3"
lib: "Added to bundle"
# restricted status of an item,linked to items.restricted
- category: "RESTRICTED"
authorised_value: "1"

View File

@ -115,6 +115,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('BorrowerUnwantedField','',NULL,'Name the fields you don\'t need to store for a patron\'s account','free'),
('BranchTransferLimitsType','ccode','itemtype|ccode','When using branch transfer limits, choose whether to limit by itemtype or collection code.','Choice'),
('BrowseResultSelection','0',NULL,'Enable/Disable browsing search results fromt the bibliographic record detail page in staff interface','YesNo'),
('BundleLostValue','5',NULL,'Sets the LOST AV value that represents "Missing from bundle" as a lost value','Free'),
('BundleNotLoanValue','3',NULL,'Sets the NOT_LOAN AV value that represents "Added to bundle" as a not for loan value','Free'),
('CalculateFinesOnReturn','1','','Switch to control if overdue fines are calculated on return or not','YesNo'),
('CalculateFinesOnBackdate','1','','Switch to control if overdue fines are calculated on return when backdating','YesNo'),
('CalendarFirstDayOfWeek','0','0|1|2|3|4|5|6','Select the first day of week to use in the calendar.','Choice'),