Bug 37141: (follow-up) Move filter_expired to outer scope
This allows access by the bookings-tab and the expired_filter click handlers which are both required for the state change to work. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
e4b77f47c4
commit
77fbffbbcb
|
|
@ -3,8 +3,8 @@
|
|||
var bookings_table;
|
||||
$(document).ready(function () {
|
||||
// Load bookings table on tab selection
|
||||
let filter_expired = true;
|
||||
$("#bookings-tab").on("click", function () {
|
||||
let filter_expired = true;
|
||||
let additional_filters = {
|
||||
patron_id: patron_borrowernumber,
|
||||
end_date: function () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue