Merge pull request #322 from sosedoff/fix-custom-results-rows
Hide custom query results counter if query didn't return any rows
This commit is contained in:
commit
cdb74c6a19
File diff suppressed because one or more lines are too long
@ -265,6 +265,7 @@ function buildTable(results, sortColumn, sortOrder, options) {
|
||||
|
||||
if (results.rows.length == 0) {
|
||||
$("<tr><td>No records found</tr></tr>").appendTo("#results");
|
||||
$("#result-rows-count").html("");
|
||||
$("#results").addClass("empty");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user