Hide custom query results counter if query didnt return any rows
This commit is contained in:
parent
d65f8eb0f5
commit
cf432e32f7
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) {
|
if (results.rows.length == 0) {
|
||||||
$("<tr><td>No records found</tr></tr>").appendTo("#results");
|
$("<tr><td>No records found</tr></tr>").appendTo("#results");
|
||||||
|
$("#result-rows-count").html("");
|
||||||
$("#results").addClass("empty");
|
$("#results").addClass("empty");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user