Partial fix for #3840

This commit is contained in:
James Cole
2020-09-23 19:29:10 +02:00
parent fc157b2944
commit 5f5346ed71
4 changed files with 7 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ TODO: hide and show columns
</thead>
<tbody>
{% for group in groups %}
{% if group.count > 1 %}
{% if group.count() > 1 %}
<tr style="border-top:1px #aaa solid;">
<td colspan="2" style="border-top:1px #aaa solid;">
<small><strong>

View File

@@ -1,6 +1,8 @@
<p class="search_count">
{% if hasPages %}
{% if true == hasPages %}
{{ trans('firefly.search_found_more_transactions', {count: groups.count(), time: searchTime}) }}
{% elseif 0 == groups.count() %}
{{ trans_choice('firefly.search_found_transactions', 0, {time: searchTime}) }}
{% else %}
{{ trans_choice('firefly.search_found_transactions', groups.perPage(), {time: searchTime}) }}
{% endif %}