[bitbake-devel] [PATCH 25/27] toaster: All machines show results count if filtering or searching

Alex DAMIAN alexandru.damian at intel.com
Mon Feb 9 18:01:55 UTC 2015


From: Michael Wood <michael.g.wood at intel.com>

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

Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
 lib/toaster/toastergui/templates/machines.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/toastergui/templates/machines.html b/lib/toaster/toastergui/templates/machines.html
index f63e897..2089c26 100644
--- a/lib/toaster/toastergui/templates/machines.html
+++ b/lib/toaster/toastergui/templates/machines.html
@@ -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 %}
-- 
1.9.1




More information about the bitbake-devel mailing list