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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 355-357 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
355
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OAI-PMH:AutoUpdateSets','0','Automatically update OAI sets when a bibliographic record is created or updated','','YesNo');
355
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OAI-PMH:AutoUpdateSets','0','Automatically update OAI sets when a bibliographic record is created or updated','','YesNo');
356
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacAllowPublicListCreation',1,'If set, allows opac users to create public lists',NULL,'YesNo');
356
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacAllowPublicListCreation',1,'If set, allows opac users to create public lists',NULL,'YesNo');
357
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacAllowSharingPrivateLists',0,'If set, allows opac users to share private lists with other patrons',NULL,'YesNo');
357
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacAllowSharingPrivateLists',0,'If set, allows opac users to share private lists with other patrons',NULL,'YesNo');
358
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 4994-4999 if ( C4::Context->preference("Version") lt TransformToNum($DBversion) ) { Link Here
4994
    SetVersion($DBversion);
4994
    SetVersion($DBversion);
4995
}
4995
}
4996
4996
4997
$DBversion = "3.07.00.XXX";
4998
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4999
    $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)");
5000
    print "Upgrade to $DBversion done (Add syspref to tell Koha if ICU indexing is in use for Zebra or not.)\n";
5001
    SetVersion ($DBversion);
5002
}
5003
4997
=head1 FUNCTIONS
5004
=head1 FUNCTIONS
4998
5005
4999
=head2 DropAllForeignKeys($table)
5006
=head2 DropAllForeignKeys($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-2 / +6 lines)
Lines 325-331 Circulation: Link Here
325
            - Patrons can only have
325
            - Patrons can only have
326
            - pref: maxreserves
326
            - pref: maxreserves
327
              class: integer
327
              class: integer
328
            - holds at once.
328
            - total holds at a time.
329
        -
330
            - Patrons can only place
331
            - pref: MaxHoldsPerRecord
332
              class: integer
333
            - holds on a single record at a time.
329
        -
334
        -
330
            - pref: emailLibrarianWhenHoldIsPlaced
335
            - pref: emailLibrarianWhenHoldIsPlaced
331
              choices:
336
              choices:
332
- 

Return to bug 7710