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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 348-354 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
348
('SpineLabelShowPrintOnBibDetails','0','','If turned on, a \"Print Label\" link will appear for each item on the bib details page in the staff interface.','YesNo'),
348
('SpineLabelShowPrintOnBibDetails','0','','If turned on, a \"Print Label\" link will appear for each item on the bib details page in the staff interface.','YesNo'),
349
('StaffAuthorisedValueImages','1',NULL,'','YesNo'),
349
('StaffAuthorisedValueImages','1',NULL,'','YesNo'),
350
('staffClientBaseURL','',NULL,'Specify the base URL of the staff client','free'),
350
('staffClientBaseURL','',NULL,'Specify the base URL of the staff client','free'),
351
('StaffDetailItemSelection', '0', NULL, 'Enable item selection in record detail page', 'YesNo');
351
('StaffDetailItemSelection', '1', NULL, 'Enable item selection in record detail page', 'YesNo');
352
('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the Staff client','Integer'),
352
('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the Staff client','Integer'),
353
('StaticHoldsQueueWeight','0',NULL,'Specify a list of library location codes separated by commas -- the list of codes will be traversed and weighted with first values given higher weight for holds fulfillment -- alternatively, if RandomizeHoldsQueueWeight is set, the list will be randomly selective','Integer'),
353
('StaticHoldsQueueWeight','0',NULL,'Specify a list of library location codes separated by commas -- the list of codes will be traversed and weighted with first values given higher weight for holds fulfillment -- alternatively, if RandomizeHoldsQueueWeight is set, the list will be randomly selective','Integer'),
354
('SubfieldsToUseWhenPrefill','','','Define a list of subfields to use when prefilling items (separated by space)','Free'),
354
('SubfieldsToUseWhenPrefill','','','Define a list of subfields to use when prefilling items (separated by space)','Free'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 7158-7164 $DBversion = "XXX"; Link Here
7158
if ( CheckVersion($DBversion) ) {
7158
if ( CheckVersion($DBversion) ) {
7159
    $dbh->do(qq{
7159
    $dbh->do(qq{
7160
        INSERT INTO systempreferences (variable, value, explanation, options, type)
7160
        INSERT INTO systempreferences (variable, value, explanation, options, type)
7161
        VALUES ('StaffDetailItemSelection', '0', 'Enable item selection in record detail page', NULL, 'YesNo')
7161
        VALUES ('StaffDetailItemSelection', '1', 'Enable item selection in record detail page', NULL, 'YesNo')
7162
    });
7162
    });
7163
    print "Upgrade to $DBversion done (Add system preference StaffDetailItemSelection)\n";
7163
    print "Upgrade to $DBversion done (Add system preference StaffDetailItemSelection)\n";
7164
    SetVersion($DBversion);
7164
    SetVersion($DBversion);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +8 lines)
Lines 149-154 function verify_images() { Link Here
149
            if (table.find('thead tr.columnFilter').length == 0) {
149
            if (table.find('thead tr.columnFilter').length == 0) {
150
                table.dataTable().columnFilter({
150
                table.dataTable().columnFilter({
151
                    'sPlaceHolder': 'head:after'
151
                    'sPlaceHolder': 'head:after'
152
                    [% IF StaffDetailItemSelection %]
153
                    ,   aoColumns: [ null, 'text', 'text', 'text', 'text', 'text', 'text', 'text' ]
154
                    [% END %]
152
                });
155
                });
153
                filters_row.addClass('columnFilter');
156
                filters_row.addClass('columnFilter');
154
            }
157
            }
Lines 198-203 function verify_images() { Link Here
198
                'sDom': 't',
201
                'sDom': 't',
199
                'bPaginate': false,
202
                'bPaginate': false,
200
                'bAutoWidth': false
203
                'bAutoWidth': false
204
                [% IF StaffDetailItemSelection %]
205
                ,   "aoColumnDefs": [
206
                        { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
207
                    ]
208
                [% END %]
201
            }));
209
            }));
202
210
203
            // Show a link to activate filtering
211
            // Show a link to activate filtering
204
- 

Return to bug 9044