Round the search time and make sure the count is shown #2453

This commit is contained in:
James Cole
2019-08-21 04:37:17 +02:00
parent c76337926b
commit 22f110df8d
6 changed files with 11 additions and 20 deletions

View File

@@ -123,7 +123,8 @@
var searchQuery = "{{ fullQuery|escape('js') }}";
var searchUri = "{{ route('search.search') }}";
</script>
<script type="text/javascript" src="v1/js/ff/search/index.js?v={{ FF_VERSION }}"></script>
{# required for groups.twig #}
<script type="text/javascript" src="v1/js/ff/list/groups.js?v={{ FF_VERSION }}"></script>
<script type="text/javascript" src="v1/js/ff/search/index.js?v={{ FF_VERSION }}"></script>
{% endblock %}

View File

@@ -1,6 +1,6 @@
<p>
<p class="search_count">
{{ trans('firefly.search_found_transactions', {count: transactions.count, time: searchTime}) }}
{{ trans('firefly.search_found_transactions', {count: groups.count, time: searchTime}) }}
</p>
{% include 'list.groups' %}