From 423480903f021fcfb79bbf015a5fc0e3a014e866 Mon Sep 17 00:00:00 2001 From: "John R. Supplee" Date: Wed, 13 Jan 2021 21:54:15 +0200 Subject: [PATCH] Fix bug in displaying results count --- client/components/main/globalSearch.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/main/globalSearch.jade b/client/components/main/globalSearch.jade index a09c7fde8..73e1028f6 100644 --- a/client/components/main/globalSearch.jade +++ b/client/components/main/globalSearch.jade @@ -17,9 +17,9 @@ template(name="globalSearch") else if hasResults.get .global-search-dueat-list-wrapper h1 - if $eq resultCount.get 0 + if $eq resultsCount.get 0 | {{_ 'no-results' }} - else if $eq resultCount.get 1 + else if $eq resultsCount.get 1 | {{_ 'one-result' }} else | {{_ 'n-results' resultsCount.get }}