Patchwork [bitbake-devel,4/9] toaster: keep number of rows across searches

mail settings
Submitter Alexandru DAMIAN
Date April 9, 2014, 1:17 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/70371/
State New
Headers show


Alexandru DAMIAN - April 9, 2014, 1:17 p.m.
From: Alexandru DAMIAN <>

This patch will make Toaster remember the selected
number of rows to be displayed in tables across different

The number of rows setting will not be remembered if the
the user leaves the page and subsequently returns to it.

Signed-off-by: Alexandru DAMIAN <>
 lib/toaster/toastergui/templates/basetable_top.html | 1 +
 1 file changed, 1 insertion(+)


diff --git a/lib/toaster/toastergui/templates/basetable_top.html b/lib/toaster/toastergui/templates/basetable_top.html
index f625901..22c3897 100644
--- a/lib/toaster/toastergui/templates/basetable_top.html
+++ b/lib/toaster/toastergui/templates/basetable_top.html
@@ -33,6 +33,7 @@ 
             <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{{}}"/>{% if %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%}
             <input type="hidden" name="orderby" value="{{request.GET.orderby}}">
             <input type="hidden" name="page" value="1">
+            <input type="hidden" name="count" value="{{request.GET.count}}">
             <button class="btn" type="submit" value="Search">Search</button>
         <div class="pull-right">