@@ -, +, @@ system preference SuggestionLibraryList --- installer/data/mysql/atomicupdate/bug_12219.sql | 1 + installer/data/mysql/sysprefs.sql | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_12219.sql --- a/installer/data/mysql/atomicupdate/bug_12219.sql +++ a/installer/data/mysql/atomicupdate/bug_12219.sql @@ -0,0 +1, @@ +INSERT IGNORE INTO systempreferences (variable,value, explanation,options,type) VALUES ('SuggestionLibraryList','','If empty, all libraries may make suggestions,', NULL, 'Free'); --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -489,6 +489,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('SubscriptionHistory','simplified','simplified|full','Define the display preference for serials issue history in OPAC','Choice'), ('SubscriptionLog','1',NULL,'If ON, enables subscriptions log','YesNo'), ('suggestion','1','','If ON, enables patron suggestions feature in OPAC','YesNo'), +('SuggestionLibraryList','',NULL,'Only allow purchase suggestions for libraries listed. If empty, all libraries may make purchase suggestions.','Free'), ('SuspendHoldsIntranet','1','Allow holds to be suspended from the intranet.',NULL,'YesNo'), ('SuspendHoldsOpac','1','Allow holds to be suspended from the OPAC.',NULL,'YesNo'), ('SvcMaxReportRows','10',NULL,'Maximum number of rows to return via the report web service.','Integer'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref @@ -426,6 +426,10 @@ OPAC: yes: Allow no: "Don't allow" - patrons to make purchase suggestions on the OPAC. + - - "Enable purchase suggestions for the following libraries." + - pref: SuggestionLibraryList + - (separate branchcode with |). + - If empty, all libraries may make purchase suggestions. - - pref: reviewson choices: --