@@ -, +, @@ record --- installer/data/mysql/atomicupdate/bug_17378.sql | 2 + installer/data/mysql/sysprefs.sql | 1 + .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 11 +++- .../en/modules/admin/preferences/cataloguing.pref | 3 ++ .../prog/en/modules/cataloguing/additem.tt | 58 +++++++++++++++------- koha-tmpl/intranet-tmpl/prog/js/catalog.js | 2 +- 6 files changed, 56 insertions(+), 21 deletions(-) create mode 100644 installer/data/mysql/atomicupdate/bug_17378.sql --- a/installer/data/mysql/atomicupdate/bug_17378.sql +++ a/installer/data/mysql/atomicupdate/bug_17378.sql @@ -0,0 +1,2 @@ +INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES +('RecordItemLimit',NULL,NULL,'If this number is exceeded, a librarian will be unable to manually add more items to a record','Integer'); --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -451,6 +451,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('QueryWeightFields','1',NULL,'If ON, enables field weighting','YesNo'), ('QuoteOfTheDay','0',NULL,'Enable or disable display of Quote of the Day on the OPAC home page','YesNo'), ('RandomizeHoldsQueueWeight','0',NULL,'if ON, the holds queue in circulation will be randomized, either based on all location codes, or by the location codes specified in StaticHoldsQueueWeight','YesNo'), +('RecordItemLimit',NULL,NULL,'If this number is exceeded, a librarian will be unable to manually add more items to a record','Integer'), ('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'), ('RefundLostOnReturnControl','CheckinLibrary','CheckinLibrary|ItemHomeBranch|ItemHoldingBranch','If a lost item is returned, choose which branch to pick rules for refunding.','Choice'), ('RenewalLog','0','','If ON, log information about renewals','YesNo'), --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -1,3 +1,4 @@ +[% USE Koha %] [% INCLUDE 'blocking_errors.inc' %]