View | Details | Raw Unified | Return to bug 9223
Collapse All | Expand All

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 404-409 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
404
('SubscriptionHistory','simplified','simplified|full','Define the display preference for serials issue history in OPAC','Choice'),
404
('SubscriptionHistory','simplified','simplified|full','Define the display preference for serials issue history in OPAC','Choice'),
405
('SubscriptionLog','1',NULL,'If ON, enables subscriptions log','YesNo'),
405
('SubscriptionLog','1',NULL,'If ON, enables subscriptions log','YesNo'),
406
('suggestion','1','','If ON, enables patron suggestions feature in OPAC','YesNo'),
406
('suggestion','1','','If ON, enables patron suggestions feature in OPAC','YesNo'),
407
('SupportsAuthorizedValues','itemtypes','itemtypes|ccode|loc','Authorized values representing document physical support','Choice'),
407
('SuspendHoldsIntranet','1','Allow holds to be suspended from the intranet.',NULL,'YesNo'),
408
('SuspendHoldsIntranet','1','Allow holds to be suspended from the intranet.',NULL,'YesNo'),
408
('SuspendHoldsOpac','1','Allow holds to be suspended from the OPAC.',NULL,'YesNo'),
409
('SuspendHoldsOpac','1','Allow holds to be suspended from the OPAC.',NULL,'YesNo'),
409
('SvcMaxReportRows','10',NULL,'Maximum number of rows to return via the report web service.','Integer'),
410
('SvcMaxReportRows','10',NULL,'Maximum number of rows to return via the report web service.','Integer'),
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 9804-9809 if ( CheckVersion($DBversion) ) { Link Here
9804
    SetVersion($DBversion);
9804
    SetVersion($DBversion);
9805
}
9805
}
9806
9806
9807
$DBversion = "3.19.00.XXX";
9808
if ( CheckVersion($DBversion) ) {
9809
   $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('SupportsAuthorizedValues', 'itemtypes', 'Authorized values representing document physical support','itemtypes|ccode|loc','Choice')");
9810
   print "Upgrade to $DBversion done (Bug 9223: Add SupportsAuthorizedValues syspref)\n";
9811
   SetVersion ($DBversion);
9812
}
9813
9807
=head1 FUNCTIONS
9814
=head1 FUNCTIONS
9808
9815
9809
=head2 TableExists($table)
9816
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-1 / +9 lines)
Lines 125-130 Cataloging: Link Here
125
            - 'MARC21: "952$a 952$b 952$c"'
125
            - 'MARC21: "952$a 952$b 952$c"'
126
            - Note that the FA framework is excluded from the permission.
126
            - Note that the FA framework is excluded from the permission.
127
            - If the pref is empty, no fields are restricted.
127
            - If the pref is empty, no fields are restricted.
128
        -
129
            - pref: SupportsAuthorizedValues
130
              default: itemtypes
131
              choices:
132
                  itemtypes: "Item type"
133
                  loc: "Shelving Location"
134
                  ccode: "Collection code"
135
            - represents document physical support.
136
        -
128
    Display:
137
    Display:
129
        -
138
        -
130
            - 'Separate multiple displayed authors, series or subjects with '
139
            - 'Separate multiple displayed authors, series or subjects with '
131
- 

Return to bug 9223