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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 427-430 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
427
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('UseCourseReserves', '0', 'Enable the course reserves feature.', NULL, 'YesNo');
427
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('UseCourseReserves', '0', 'Enable the course reserves feature.', NULL, 'YesNo');
428
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHoldNotes',0,'Show hold notes on OPAC','','YesNo');
428
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHoldNotes',0,'Show hold notes on OPAC','','YesNo');
429
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('CalculateFinesOnReturn','1','Switch to control if overdue fines are calculated on return or not', '', 'YesNo');
429
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('CalculateFinesOnReturn','1','Switch to control if overdue fines are calculated on return or not', '', 'YesNo');
430
INSERT INTO systempreferences (variable, value, explanation, options, type) VALUES ('StaffDetailItemSelection', '0', 'Enable item selection in record detail page', NULL, 'YesNo');
430
INSERT INTO systempreferences (variable, value, explanation, options, type) VALUES ('StaffDetailItemSelection', '1', 'Enable item selection in record detail page', NULL, 'YesNo');
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 7014-7020 $DBversion = "3.13.00.XXX"; Link Here
7014
if (C4::Context->preference('Version') < TransformToNum($DBversion)) {
7014
if (C4::Context->preference('Version') < TransformToNum($DBversion)) {
7015
    $dbh->do(qq{
7015
    $dbh->do(qq{
7016
        INSERT INTO systempreferences (variable, value, explanation, options, type)
7016
        INSERT INTO systempreferences (variable, value, explanation, options, type)
7017
        VALUES ('StaffDetailItemSelection', '0', 'Enable item selection in record detail page', NULL, 'YesNo')
7017
        VALUES ('StaffDetailItemSelection', '1', 'Enable item selection in record detail page', NULL, 'YesNo')
7018
    });
7018
    });
7019
    print "Upgrade to $DBversion done (Bug 9044: Add system preference StaffDetailItemSelection)\n";
7019
    print "Upgrade to $DBversion done (Bug 9044: Add system preference StaffDetailItemSelection)\n";
7020
    SetVersion($DBversion);
7020
    SetVersion($DBversion);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +8 lines)
Lines 114-119 function verify_images() { Link Here
114
            if (table.find('thead tr.columnFilter').length == 0) {
114
            if (table.find('thead tr.columnFilter').length == 0) {
115
                table.dataTable().columnFilter({
115
                table.dataTable().columnFilter({
116
                    'sPlaceHolder': 'head:after'
116
                    'sPlaceHolder': 'head:after'
117
                    [% IF StaffDetailItemSelection %]
118
                    ,   aoColumns: [ null, 'text', 'text', 'text', 'text', 'text', 'text', 'text' ]
119
                    [% END %]
117
                });
120
                });
118
                filters_row.addClass('columnFilter');
121
                filters_row.addClass('columnFilter');
119
            }
122
            }
Lines 163-168 function verify_images() { Link Here
163
                'sDom': 't',
166
                'sDom': 't',
164
                'bPaginate': false,
167
                'bPaginate': false,
165
                'bAutoWidth': false
168
                'bAutoWidth': false
169
                [% IF StaffDetailItemSelection %]
170
                ,   "aoColumnDefs": [
171
                        { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
172
                    ]
173
                [% END %]
166
            }));
174
            }));
167
175
168
            // Show a link to activate filtering
176
            // Show a link to activate filtering
169
- 

Return to bug 9044