From 31435cd7cf1c827583de06a1b4b74f241148c262 Mon Sep 17 00:00:00 2001 From: Lova ANDRIARIMALALA <43842786+Xpirix@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:23:46 +0300 Subject: [PATCH 1/2] Show the number of results returned in search --- qgis-app/templates/search/search.html | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/qgis-app/templates/search/search.html b/qgis-app/templates/search/search.html index 01f9f7e4..03ffd05b 100644 --- a/qgis-app/templates/search/search.html +++ b/qgis-app/templates/search/search.html @@ -46,7 +46,7 @@

Search

{% if query %} -

Search results

+

Search results for "{{query}}" ({{paginator.count}} items found.)

{% for result in page.object_list %}

@@ -58,9 +58,27 @@

Search results

{% if page.has_previous or page.has_next %} {% endif %} {% else %} From 691253c31a5cf0c3f2ec0375bb726ea7a800c73f Mon Sep 17 00:00:00 2001 From: Lova ANDRIARIMALALA <43842786+Xpirix@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:28:11 +0300 Subject: [PATCH 2/2] Fix typo --- qgis-app/templates/search/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qgis-app/templates/search/search.html b/qgis-app/templates/search/search.html index 03ffd05b..44c51b89 100644 --- a/qgis-app/templates/search/search.html +++ b/qgis-app/templates/search/search.html @@ -46,7 +46,7 @@

Search

{% if query %} -

Search results for "{{query}}" ({{paginator.count}} items found.)

+

Search results for "{{query}}" ({{paginator.count}} items found)

{% for result in page.object_list %}