Bug 23529: (QA follow-up) Fix closing bracket, add label

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2019-10-25 11:31:46 +00:00 committed by Martin Renvoize
parent 370ee3203e
commit 70a59fc694
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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('');