History page query loading fixup (#632)
This commit is contained in:
parent
a864cbcee8
commit
f3353d9007
@ -416,7 +416,11 @@ function buildTable(results, sortColumn, sortOrder, options) {
|
|||||||
$("#results_body").html(rows);
|
$("#results_body").html(rows);
|
||||||
|
|
||||||
// Show number of rows rendered on the page
|
// Show number of rows rendered on the page
|
||||||
$("#result-rows-count").html(results.stats.rows_count + " rows in " + results.stats.query_duration_ms + " ms");
|
if (results.stats) {
|
||||||
|
$("#result-rows-count").html(results.stats.rows_count + " rows in " + results.stats.query_duration_ms + " ms");
|
||||||
|
} else {
|
||||||
|
$("#result-rows-count").html(results.rows.length + " rows");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function setCurrentTab(id) {
|
function setCurrentTab(id) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user