Skip to content

Commit b33ebab

Browse files
Fix result count when searching in database (#19595)
* Fix result count when searching in database Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com> --------- Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
1 parent 607071a commit b33ebab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/templates/database/search/results.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040

4141
{% if criteria_tables|length > 1 %}
4242
<p>
43-
{{ t('<strong>Total:</strong> <em>%s</em> match', '<strong>Total:</strong> <em>%s</em> matches', result_total)|format(count)|raw }}
43+
{{ t('<strong>Total:</strong> <em>%s</em> match', '<strong>Total:</strong> <em>%s</em> matches', result_total)|format(result_total)|raw }}
4444
</p>
4545
{% endif %}

0 commit comments

Comments
 (0)