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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 369-371 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
369
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('SuspendHoldsIntranet', '1', NULL , 'Allow holds to be suspended from the intranet.', 'YesNo');
369
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('SuspendHoldsIntranet', '1', NULL , 'Allow holds to be suspended from the intranet.', 'YesNo');
370
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('SuspendHoldsOpac', '1', NULL , 'Allow holds to be suspended from the OPAC.', 'YesNo');
370
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('SuspendHoldsOpac', '1', NULL , 'Allow holds to be suspended from the OPAC.', 'YesNo');
371
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('DefaultLanguageField008','','Fill in the default language for field 008 Range 35-37 (e.g. eng, nor, ger, see <a href="http://www.loc.gov/marc/languages/language_code.html">MARC Code List for Languages</a>)','','Free');
371
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('DefaultLanguageField008','','Fill in the default language for field 008 Range 35-37 (e.g. eng, nor, ger, see <a href="http://www.loc.gov/marc/languages/language_code.html">MARC Code List for Languages</a>)','','Free');
372
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('MaxHoldsPerRecord', '1', 'The maximum number of holds allowed per bibliographic record per borrower', NULL, NULL);
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 5343-5348 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
5343
    SetVersion($DBversion);
5343
    SetVersion($DBversion);
5344
}
5344
}
5345
5345
5346
$DBversion = "3.09.00.XXX";
5347
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
5348
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('MaxHoldsPerRecord', '1', 'The maximum number of holds allowed per bibliographic record per borrower', NULL, NULL)");
5349
    print "Upgrade to $DBversion done (Add syspref to tell Koha if ICU indexing is in use for Zebra or not.)\n";
5350
    SetVersion ($DBversion);
5351
}
5352
5346
=head1 FUNCTIONS
5353
=head1 FUNCTIONS
5347
5354
5348
=head2 TableExists($table)
5355
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-2 / +6 lines)
Lines 333-339 Circulation: Link Here
333
            - Patrons can only have
333
            - Patrons can only have
334
            - pref: maxreserves
334
            - pref: maxreserves
335
              class: integer
335
              class: integer
336
            - holds at once.
336
            - total holds at a time.
337
        -
338
            - Patrons can only place
339
            - pref: MaxHoldsPerRecord
340
              class: integer
341
            - holds on a single record at a time.
337
        -
342
        -
338
            - pref: emailLibrarianWhenHoldIsPlaced
343
            - pref: emailLibrarianWhenHoldIsPlaced
339
              choices:
344
              choices:
340
- 

Return to bug 7710