('SpineLabelShowPrintOnBibDetails','0','','If turned on, a \"Print Label\" link will appear for each item on the bib details page in the staff interface.','YesNo'),
('StaffAuthorisedValueImages','1',NULL,'','YesNo'),
('staffClientBaseURL','',NULL,'Specify the base URL of the staff client','free'),
-('StaffDetailItemSelection', '0', NULL, 'Enable item selection in record detail page', 'YesNo');
+('StaffDetailItemSelection', '1', NULL, 'Enable item selection in record detail page', 'YesNo');
('StaffSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the Staff client','Integer'),
('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'),
('SubfieldsToUseWhenPrefill','','','Define a list of subfields to use when prefilling items (separated by space)','Free'),
if ( CheckVersion($DBversion) ) {
$dbh->do(qq{
INSERT INTO systempreferences (variable, value, explanation, options, type)
- VALUES ('StaffDetailItemSelection', '0', 'Enable item selection in record detail page', NULL, 'YesNo')
+ VALUES ('StaffDetailItemSelection', '1', 'Enable item selection in record detail page', NULL, 'YesNo')
});
print "Upgrade to $DBversion done (Add system preference StaffDetailItemSelection)\n";
SetVersion($DBversion);
if (table.find('thead tr.columnFilter').length == 0) {
table.dataTable().columnFilter({
'sPlaceHolder': 'head:after'
+ [% IF StaffDetailItemSelection %]
+ , aoColumns: [ null, 'text', 'text', 'text', 'text', 'text', 'text', 'text' ]
+ [% END %]
});
filters_row.addClass('columnFilter');
}
'sDom': 't',
'bPaginate': false,
'bAutoWidth': false
+ [% IF StaffDetailItemSelection %]
+ , "aoColumnDefs": [
+ { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
+ ]
+ [% END %]
}));
// Show a link to activate filtering