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/sysprefs.sql (+1 lines)
Lines 465-470 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
465
('PatronAnonymizeDelay','',NULL,'Delay for anonymizing patrons', 'Integer'),
465
('PatronAnonymizeDelay','',NULL,'Delay for anonymizing patrons', 'Integer'),
466
('patronimages','0',NULL,'Enable patron images for the Staff Client','YesNo'),
466
('patronimages','0',NULL,'Enable patron images for the Staff Client','YesNo'),
467
('PatronRemovalDelay','',NULL,'Delay for removing anonymized patrons', 'Integer'),
467
('PatronRemovalDelay','',NULL,'Delay for removing anonymized patrons', 'Integer'),
468
('PatronRestrictionTypes','0',NULL,'Specify type of patron restriction being applied', 'YesNo'),
468
('PatronSelfModificationBorrowerUnwantedField','',NULL,'Name the fields you don\'t want to display when a patron is editing their information via the OPAC.','free'),
469
('PatronSelfModificationBorrowerUnwantedField','',NULL,'Name the fields you don\'t want to display when a patron is editing their information via the OPAC.','free'),
469
('PatronSelfRegistration','0',NULL,'If enabled, patrons will be able to register themselves via the OPAC.','YesNo'),
470
('PatronSelfRegistration','0',NULL,'If enabled, patrons will be able to register themselves via the OPAC.','YesNo'),
470
('PatronSelfRegistrationAdditionalInstructions','','','A free text field to display additional instructions to newly self registered patrons.','free'),
471
('PatronSelfRegistrationAdditionalInstructions','','','A free text field to display additional instructions to newly self registered patrons.','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +6 lines)
Lines 233-238 Patrons: Link Here
233
               no: Allow all permitted users
233
               no: Allow all permitted users
234
         - "to access/change superlibrarian privileges."
234
         - "to access/change superlibrarian privileges."
235
         - "<br><strong>NOTE:</strong> A permitted user needs to have the 'permissions' flag (if no superlibrarian)."
235
         - "<br><strong>NOTE:</strong> A permitted user needs to have the 'permissions' flag (if no superlibrarian)."
236
     -
237
         - pref: PatronRestrictionTypes
238
           choices:
239
               yes: Allow
240
               no: Don't allow
241
         - "the type of patron restriction to be specified when applying manually"
236
242
237
    Privacy:
243
    Privacy:
238
     -
244
     -
239
- 

Return to bug 23681