/admin/plugins: Make it display the same amount of plugins after sorting

pull/1672/head
Marcel Klehr 2013-03-26 11:38:51 +01:00
parent 5d7a8adcb7
commit 511407241a
1 changed files with 2 additions and 2 deletions

View File

@ -106,15 +106,15 @@ $(document).ready(function () {
search.sortBy = $(this).text().toLowerCase();
search.sortDir = false;
search.offset = 0;
search.results = [];
search(search.searchTerm, search.results.length);
search.results = [];
})
$('.sort.down, .sort.none').unbind('click').click(function() {
search.sortBy = $(this).text().toLowerCase();
search.sortDir = true;
search.offset = 0;
search(search.searchTerm, search.results.length);
search.results = [];
search(search.searchTerm);
})
}