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/sysprefs.sql (+1 lines)
Lines 392-397 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
392
('OpacHiddenItemsExceptions','',NULL,'List of borrower categories, separated by |, that can see items otherwise hidden by OpacHiddenItems','Textarea'),
392
('OpacHiddenItemsExceptions','',NULL,'List of borrower categories, separated by |, that can see items otherwise hidden by OpacHiddenItems','Textarea'),
393
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
393
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
394
('OPACHoldingsDefaultSortField','first_column','first_column|homebranch|holdingbranch','Default sort field for the holdings table at the OPAC','choice'),
394
('OPACHoldingsDefaultSortField','first_column','first_column|homebranch|holdingbranch','Default sort field for the holdings table at the OPAC','choice'),
395
('OPACHoldsHistory','0','','If ON, enables display of Patron Holds History in OPAC','YesNo'),
395
('OPACHoldsIfAvailableAtPickup','1','','Allow to pickup up holds at libraries where the item is available','YesNo'),
396
('OPACHoldsIfAvailableAtPickup','1','','Allow to pickup up holds at libraries where the item is available','YesNo'),
396
('OPACHoldsIfAvailableAtPickupExceptions','','','List the patron categories not affected by OPACHoldsIfAvailableAtPickup if off','Free'),
397
('OPACHoldsIfAvailableAtPickupExceptions','','','List the patron categories not affected by OPACHoldsIfAvailableAtPickup if off','Free'),
397
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
398
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +6 lines)
Lines 732-737 OPAC: Link Here
732
                  yes: Allow
732
                  yes: Allow
733
                  no: "Don't allow"
733
                  no: "Don't allow"
734
            - patrons to see what books they have checked out in the past.
734
            - patrons to see what books they have checked out in the past.
735
        -
736
            - pref: OPACHoldsHistory
737
              choices:
738
                  yes: Allow
739
                  no: "Don't allow"
740
            - patrons to see what books they have place holds in the past.
735
        -
741
        -
736
            - pref: EnableOpacSearchHistory
742
            - pref: EnableOpacSearchHistory
737
              default: 0
743
              default: 0
738
- 

Return to bug 20936