Fixed bug where previous searches, and orders were not respected by

paging
This commit is contained in:
Raelon Masters
2020-07-05 13:13:09 -04:00
parent b2a8b1de15
commit 7eec7ae883
4 changed files with 56 additions and 37 deletions

View File

@@ -81,10 +81,8 @@ $(document).ready(function(){
window.location.href="/"+valueSelected
});
$('#btn-home').on("click", function(){
console.log('Home Pressed');
_location = $(this).attr('data-location');
$('#_order').val(null);
$('#_search').val(null);
window.location.href=_location;
});
$('#search_string').html("<i> "+$('#_search').val().substr(0,15)+"</i>")
});