mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Display the number of candidates instead of the returned document count
This commit is contained in:
parent
510df4729c
commit
aa129dd7e8
3 changed files with 5 additions and 2 deletions
|
@ -26,7 +26,7 @@ $('#query, #facet').on('input', function () {
|
|||
|
||||
let timeSpent = request.getResponseHeader('Time-Ms');
|
||||
let numberOfDocuments = data.documents.length;
|
||||
count.innerHTML = `${numberOfDocuments}`;
|
||||
count.innerHTML = data.numberOfCandidates.toLocaleString();
|
||||
time.innerHTML = `${timeSpent}ms`;
|
||||
time.classList.remove('fade-in-out');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue