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

(-)a/installer/data/mysql/atomicupdate/bug-20936.perl (+10 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
4
    $dbh->do(qq{
5
        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
6
        ('OPACHoldsHistory','0','','If ON, enables display of Patron Holds History in OPAC','YesNo')
7
    });
8
9
    NewVersion( $DBversion, 20936, "Add OPACHoldsHistory preferences");
10
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 400-405 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
400
('OpacHiddenItemsExceptions','',NULL,'List of borrower categories, separated by |, that can see items otherwise hidden by OpacHiddenItems','Textarea'),
400
('OpacHiddenItemsExceptions','',NULL,'List of borrower categories, separated by |, that can see items otherwise hidden by OpacHiddenItems','Textarea'),
401
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
401
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
402
('OPACHoldingsDefaultSortField','first_column','first_column|homebranch|holdingbranch','Default sort field for the holdings table at the OPAC','choice'),
402
('OPACHoldingsDefaultSortField','first_column','first_column|homebranch|holdingbranch','Default sort field for the holdings table at the OPAC','choice'),
403
('OPACHoldsHistory','0','','If ON, enables display of Patron Holds History in OPAC','YesNo'),
403
('OPACHoldsIfAvailableAtPickup','1','','Allow to pickup up holds at libraries where the item is available','YesNo'),
404
('OPACHoldsIfAvailableAtPickup','1','','Allow to pickup up holds at libraries where the item is available','YesNo'),
404
('OPACHoldsIfAvailableAtPickupExceptions','','','List the patron categories not affected by OPACHoldsIfAvailableAtPickup if off','Free'),
405
('OPACHoldsIfAvailableAtPickupExceptions','','','List the patron categories not affected by OPACHoldsIfAvailableAtPickup if off','Free'),
405
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
406
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +6 lines)
Lines 698-703 OPAC: Link Here
698
                  no: "Don't allow"
698
                  no: "Don't allow"
699
            - patrons to see what books they have checked out in the past.
699
            - patrons to see what books they have checked out in the past.
700
        -
700
        -
701
            - pref: OPACHoldsHistory
702
              choices:
703
                  yes: Allow
704
                  no: "Don't allow"
705
            - patrons to see what books they have place holds in the past.
706
        -
701
            - pref: EnableOpacSearchHistory
707
            - pref: EnableOpacSearchHistory
702
              default: 0
708
              default: 0
703
              choices:
709
              choices:
704
- 

Return to bug 20936