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 726-731 OPAC: Link Here
726
                  yes: Allow
726
                  yes: Allow
727
                  no: "Don't allow"
727
                  no: "Don't allow"
728
            - patrons to see what books they have checked out in the past.
728
            - patrons to see what books they have checked out in the past.
729
        -
730
            - pref: OPACHoldsHistory
731
              choices:
732
                  yes: Allow
733
                  no: "Don't allow"
734
            - patrons to see what books they have place holds in the past.
729
        -
735
        -
730
            - pref: EnableOpacSearchHistory
736
            - pref: EnableOpacSearchHistory
731
              default: 0
737
              default: 0
732
- 

Return to bug 20936