bitbake: toaster: All machines show results count if filtering or searching

Show the number of results returned if filtering as well as when
searching.

(Bitbake rev: 44e989b32cc36efa31f893c40930bcc9f746bd43)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Wood
2015-02-05 18:54:48 +00:00
committed by Richard Purdie
parent 2a3ca552ce
commit ea7d2461b4

View File

@@ -30,7 +30,7 @@
{% include "layers_dep_modal.html" %}
<div class="page-header">
<h1>
{% if request.GET.search %}
{% if request.GET.search or request.GET.filter %}
{% if objects.paginator.count != 0 %}
{{objects.paginator.count}} machines found
{% else %}