From 70a59fc694866154fce74eeaf08ee2126f34947f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 25 Oct 2019 11:31:46 +0000 Subject: [PATCH] Bug 23529: (QA follow-up) Fix closing bracket, add label Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js index 5741f0f2ac..5e23d7ba20 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js @@ -126,7 +126,7 @@ $(document).ready(function() { $('#illfilter_dateplaced_start, #illfilter_dateplaced_end').val(''); } } - }; + }; //END Filterable columns // Expand any fields we're expanding var expandExpand = function(row) { @@ -154,6 +154,7 @@ $(document).ready(function() { } }); }; + //END Expand // Strip the expand prefix if it exists, we do this for display var stripPrefix = function(value) { @@ -363,7 +364,7 @@ $(document).ready(function() { // it to datatables var filterParam = prefilters ? '&' + prefilters : ''; // Only fire the request if we're on the ILL list page - if (window.location.search.length == 0) {} + if (window.location.search.length == 0) { var ajax = $.ajax( '/api/v1/illrequests?embed=metadata,patron,capabilities,library,status_alias,comments,requested_partners' + filterParam @@ -499,7 +500,7 @@ $(document).ready(function() { }); }); - } + } //END if window.location.search.length == 0 var clearSearch = function() { table.api().search('').columns().search(''); -- 2.39.5