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

(-)a/installer/data/mysql/atomicupdate/bug_23681_add_PatronRestrictionTypes_syspref.perl (+6 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( q| INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('PatronRestrictionTypes', '0', 'If enabled, it is possible to specify the "type" of patron restriction being applied', '', 'YesNo'); | );
4
    SetVersion( $DBversion );
5
    print "Upgrade to $DBversion done (Bug 23681 - Add PatronRestrictionTypes syspref)\n";
6
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 536-541 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
536
('PatronDuplicateMatchingAddFields','surname|firstname|dateofbirth', NULL,'A list of fields separated by "|" to deduplicate patrons when created','Free'),
536
('PatronDuplicateMatchingAddFields','surname|firstname|dateofbirth', NULL,'A list of fields separated by "|" to deduplicate patrons when created','Free'),
537
('patronimages','0',NULL,'Enable patron images for the staff interface','YesNo'),
537
('patronimages','0',NULL,'Enable patron images for the staff interface','YesNo'),
538
('PatronRemovalDelay','',NULL,'Delay for removing anonymized patrons', 'Integer'),
538
('PatronRemovalDelay','',NULL,'Delay for removing anonymized patrons', 'Integer'),
539
('PatronRestrictionTypes','0',NULL,'Specify type of patron restriction being applied', 'YesNo'),
539
('PatronSelfModificationBorrowerUnwantedField','',NULL,'Name the fields you don\'t want to display when a patron is editing their information via the OPAC.','free'),
540
('PatronSelfModificationBorrowerUnwantedField','',NULL,'Name the fields you don\'t want to display when a patron is editing their information via the OPAC.','free'),
540
('PatronSelfModificationMandatoryField','',NULL,'Define the required fields when a patron is editing their information via the OPAC','free'),
541
('PatronSelfModificationMandatoryField','',NULL,'Define the required fields when a patron is editing their information via the OPAC','free'),
541
('PatronSelfRegistration','0',NULL,'If enabled, patrons will be able to register themselves via the OPAC.','YesNo'),
542
('PatronSelfRegistration','0',NULL,'If enabled, patrons will be able to register themselves via the OPAC.','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +7 lines)
Lines 341-346 Patrons: Link Here
341
               1: Allow
341
               1: Allow
342
               0: "Don't allow"
342
               0: "Don't allow"
343
         - staff to set the ability for a patron's fines to be viewed by linked patrons in the OPAC.
343
         - staff to set the ability for a patron's fines to be viewed by linked patrons in the OPAC.
344
     -
345
         - pref: PatronRestrictionTypes
346
           choices:
347
               yes: Allow
348
               no: Don't allow
349
         - "the type of patron restriction to be specified when applying manually"
350
344
    Privacy:
351
    Privacy:
345
     -
352
     -
346
         - Use the following URL
353
         - Use the following URL
347
- 

Return to bug 23681