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

(-)a/installer/data/mysql/atomicupdate/bug_23420_add_OPACSuggestionUnwantedFields_syspref.perl (-1 / +1 lines)
Lines 1-7 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
1
$DBversion = 'XXX'; # will be replaced by the RM
2
 if ( CheckVersion($DBversion) ) {
2
 if ( CheckVersion($DBversion) ) {
3
    $dbh->do(q{
3
    $dbh->do(q{
4
         INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('OPACSuggestionUnwantedFields','title','','Define the hidden fields for a patron purchase suggestions made via OPAC.','multiple');
4
         INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('OPACSuggestionUnwantedFields','', NULL,'Define the hidden fields for a patron purchase suggestions made via OPAC.','multiple');
5
    });
5
    });
6
6
7
    NewVersion($DBversion, 23420, "Allow configuration of hidden fields on the suggestion form in OPAC");
7
    NewVersion($DBversion, 23420, "Allow configuration of hidden fields on the suggestion form in OPAC");
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 446-451 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
446
('OPACShowUnusedAuthorities','1','','Show authorities that are not being used in the OPAC.','YesNo'),
446
('OPACShowUnusedAuthorities','1','','Show authorities that are not being used in the OPAC.','YesNo'),
447
('OpacStarRatings','all','disable|all|details',NULL,'Choice'),
447
('OpacStarRatings','all','disable|all|details',NULL,'Choice'),
448
('OpacSuggestionManagedBy',1,'','Show the name of the staff member who managed a suggestion in OPAC','YesNo'),
448
('OpacSuggestionManagedBy',1,'','Show the name of the staff member who managed a suggestion in OPAC','YesNo'),
449
('OPACSuggestionUnwantedFields',NULL,'','Define the hidden fields for a patron purchase suggestions made via OPAC.','multiple'),
449
('OpacSuppression','0','','Turn ON the OPAC Suppression feature, requires further setup, ask your system administrator for details','YesNo'),
450
('OpacSuppression','0','','Turn ON the OPAC Suppression feature, requires further setup, ask your system administrator for details','YesNo'),
450
('OpacSuppressionByIPRange','','','Restrict the suppression to IP adresses outside of the IP range','free'),
451
('OpacSuppressionByIPRange','','','Restrict the suppression to IP adresses outside of the IP range','free'),
451
('OpacSuppressionMessage','','Display this message on the redirect page for suppressed biblios','70|10','Textarea'),
452
('OpacSuppressionMessage','','Display this message on the redirect page for suppressed biblios','70|10','Textarea'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +1 lines)
Lines 656-661 OPAC: Link Here
656
                branch: Library or branch
656
                branch: Library or branch
657
                patronreason: Patron reason
657
                patronreason: Patron reason
658
                note: Note
658
                note: Note
659
            - "<br />Note: Do not make OPACSuggestionMandatoryFields unwanted fields"
659
        -
660
        -
660
            - pref: OpacHiddenItems
661
            - pref: OpacHiddenItems
661
              type: textarea
662
              type: textarea
662
- 

Return to bug 23420