From 8c49ee1b3b5296ebbd2fe8974c3cd99c206f1a73 Mon Sep 17 00:00:00 2001 From: Thomas Payet Date: Tue, 21 Jul 2020 16:27:03 +0200 Subject: [PATCH] Fixes default values on web interface --- CHANGELOG.md | 1 + meilisearch-http/public/interface.html | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22f8caea9..9f06b373d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Error codes in updates (#792) - Sentry disable argument (#813) - Log analytics if enabled (#825) + - Fix default values displayed on web interface (#874) ## v0.12.0 diff --git a/meilisearch-http/public/interface.html b/meilisearch-http/public/interface.html index d869e849c..ae221a005 100644 --- a/meilisearch-http/public/interface.html +++ b/meilisearch-http/public/interface.html @@ -136,13 +136,13 @@

Documents

-

25

+

0

Time Spent

-

4ms

+

N/A

@@ -221,7 +221,7 @@ results.innerHTML = ''; let processingTimeMs = httpResults.processingTimeMs; - let numberOfDocuments = httpResults.hits.length; + let numberOfDocuments = httpResults.nbHits; time.innerHTML = `${processingTimeMs}ms`; count.innerHTML = `${numberOfDocuments}`;