Lines 277-287
Link Here
|
277 |
} |
277 |
} |
278 |
[% END %] |
278 |
[% END %] |
279 |
|
279 |
|
|
|
280 |
let offset = 2; |
281 |
[% UNLESS Koha.Preference('LocalCoverImages') %]offset--;[% END %] |
282 |
[% UNLESS Koha.Preference('StaffDetailItemSelection') %]offset--;[% END %] |
280 |
let filters_options = { |
283 |
let filters_options = { |
281 |
2: () => all_item_types, |
284 |
[offset] : () => all_item_types, |
282 |
3: () => all_libraries, |
285 |
[offset+1] : () => all_libraries, |
283 |
4: () => all_libraries, |
286 |
[offset+2] : () => all_libraries, |
284 |
}; |
287 |
}; |
|
|
288 |
|
285 |
var items_table = $("#" + tab_id + '_table').kohaTable({ |
289 |
var items_table = $("#" + tab_id + '_table').kohaTable({ |
286 |
ajax: { url: item_table_url }, |
290 |
ajax: { url: item_table_url }, |
287 |
order: [], |
291 |
order: [], |
288 |
- |
|
|