summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-04-07 11:10:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-09 16:58:54 +0100
commita84f296591be26972b808e98816e9d92cadf3eb5 (patch)
treea64652ac7100454f3eb05d2c90283e49afafbc99
parente69a57fc3302ed8fac21631ba95ea66e93b243e5 (diff)
downloadbitbake-a84f296591be26972b808e98816e9d92cadf3eb5.tar.gz
toaster: keep number of rows across searches
This patch will make Toaster remember the selected number of rows to be displayed in tables across different searches. 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 <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/toastergui/templates/basetable_top.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/basetable_top.html b/lib/toaster/toastergui/templates/basetable_top.html
index f6259011e..22c389799 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="{{request.GET.search}}"/>{% if request.GET.search %}<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>
</form>
<div class="pull-right">