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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 119-124 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
119
('ExpireReservesOnHolidays', '1', NULL, 'If false, reserves at a library will not be canceled on days the library is not open.', 'YesNo'),
119
('ExpireReservesOnHolidays', '1', NULL, 'If false, reserves at a library will not be canceled on days the library is not open.', 'YesNo'),
120
('ExtendedPatronAttributes','0',NULL,'Use extended patron IDs and attributes','YesNo'),
120
('ExtendedPatronAttributes','0',NULL,'Use extended patron IDs and attributes','YesNo'),
121
('FacetLabelTruncationLength','20',NULL,'Specify the facet max length in OPAC','Integer'),
121
('FacetLabelTruncationLength','20',NULL,'Specify the facet max length in OPAC','Integer'),
122
('FacetMaxCount','20',NULL,'Specify the max facet count for each category','Integer'),
122
('FilterBeforeOverdueReport','0','','Do not run overdue report until filter selected','YesNo'),
123
('FilterBeforeOverdueReport','0','','Do not run overdue report until filter selected','YesNo'),
123
('FineNotifyAtCheckin','0',NULL,'If ON notify librarians of overdue fines on the items they are checking in.','YesNo'),
124
('FineNotifyAtCheckin','0',NULL,'If ON notify librarians of overdue fines on the items they are checking in.','YesNo'),
124
('finesCalendar','noFinesWhenClosed','ignoreCalendar|noFinesWhenClosed','Specify whether to use the Calendar in calculating duedates and fines','Choice'),
125
('finesCalendar','noFinesWhenClosed','ignoreCalendar|noFinesWhenClosed','Specify whether to use the Calendar in calculating duedates and fines','Choice'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +10 lines)
Lines 8807-8813 if ( CheckVersion($DBversion) ) { Link Here
8807
    });
8807
    });
8808
    print "Upgrade to $DBversion done (Bug 12296 - search box replaceable with a system preference)\n";
8808
    print "Upgrade to $DBversion done (Bug 12296 - search box replaceable with a system preference)\n";
8809
    SetVersion($DBversion);
8809
    SetVersion($DBversion);
8810
    SetVersion ($DBversion);
8811
}
8810
}
8812
8811
8813
$DBversion = "3.17.00.029";
8812
$DBversion = "3.17.00.029";
Lines 8845-8850 if ( CheckVersion($DBversion) ) { Link Here
8845
   SetVersion ($DBversion);
8844
   SetVersion ($DBversion);
8846
}
8845
}
8847
8846
8847
$DBversion = "3.17.00.XXX";
8848
if ( CheckVersion($DBversion) ) {
8849
    $dbh->do(q{
8850
        INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type)
8851
        VALUES('FacetMaxCount', '20','Specify the max facet count for each category',NULL,'Integer')
8852
    });
8853
    print "Upgrade to $DBversion done (Bug 13088 - Allow the user to specify a max amount of facets to show)\n";
8854
    SetVersion($DBversion);
8855
}
8856
8848
=head1 FUNCTIONS
8857
=head1 FUNCTIONS
8849
8858
8850
=head2 TableExists($table)
8859
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-1 / +6 lines)
Lines 180-185 Searching: Link Here
180
              default: 20
180
              default: 20
181
            - records from the search results.
181
            - records from the search results.
182
        -
182
        -
183
            - Show up to
184
            - pref: FacetMaxCount
185
              class: integer
186
              default: 20
187
            - facets for each category.
188
        -
183
            - By default, show
189
            - By default, show
184
            - pref: OPACnumSearchResults
190
            - pref: OPACnumSearchResults
185
              class: integer
191
              class: integer
186
- 

Return to bug 13088