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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 347-353 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
347
('SpineLabelShowPrintOnBibDetails','0','','If turned on, a \"Print Label\" link will appear for each item on the bib details page in the staff interface.','YesNo'),
347
('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
('StaffAuthorisedValueImages','1',NULL,'','YesNo'),
348
('StaffAuthorisedValueImages','1',NULL,'','YesNo'),
349
('staffClientBaseURL','',NULL,'Specify the base URL of the staff client','free'),
349
('staffClientBaseURL','',NULL,'Specify the base URL of the staff client','free'),
350
('StaffDetailItemSelection', '0', NULL, 'Enable item selection in record detail page', 'YesNo');
350
('StaffDetailItemSelection', '1', NULL, 'Enable item selection in record detail page', 'YesNo');
351
('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the Staff client','Integer'),
351
('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the Staff client','Integer'),
352
('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'),
352
('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
('SubfieldsToUseWhenPrefill','','','Define a list of subfields to use when prefilling items (separated by space)','Free'),
353
('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 7143-7149 $DBversion = "XXX"; Link Here
7143
if (C4::Context->preference('Version') < TransformToNum($DBversion)) {
7143
if (C4::Context->preference('Version') < TransformToNum($DBversion)) {
7144
    $dbh->do(qq{
7144
    $dbh->do(qq{
7145
        INSERT INTO systempreferences (variable, value, explanation, options, type)
7145
        INSERT INTO systempreferences (variable, value, explanation, options, type)
7146
        VALUES ('StaffDetailItemSelection', '0', 'Enable item selection in record detail page', NULL, 'YesNo')
7146
        VALUES ('StaffDetailItemSelection', '1', 'Enable item selection in record detail page', NULL, 'YesNo')
7147
    });
7147
    });
7148
    print "Upgrade to $DBversion done (Add system preference StaffDetailItemSelection)\n";
7148
    print "Upgrade to $DBversion done (Add system preference StaffDetailItemSelection)\n";
7149
    SetVersion($DBversion);
7149
    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