Bug 33568: Add some missing StaffDetailItemSelection conditionals
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
a5ace06893
commit
42c653518c
|
|
@ -261,9 +261,11 @@
|
|||
[% IF hidden_count %]
|
||||
default_filters.lost_status = "0";
|
||||
[% END %]
|
||||
[% IF StaffDetailItemSelection %]
|
||||
if ( !items_selection.hasOwnProperty(tab_id) ){
|
||||
items_selection[tab_id] = [];
|
||||
}
|
||||
[% END %]
|
||||
|
||||
let filters_options = {
|
||||
2: () => all_item_types,
|
||||
|
|
@ -760,7 +762,9 @@
|
|||
table.columns(i).visible(false);
|
||||
}
|
||||
});
|
||||
[% IF StaffDetailItemSelection %]
|
||||
itemSelectionBuildActionLinks(tab_id);
|
||||
[% END %]
|
||||
},
|
||||
[% IF StaffDetailItemSelection %]
|
||||
drawCallback: function(settings){
|
||||
|
|
|
|||
Loading…
Reference in New Issue