summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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 17:00:01 +0100
commitb14482ef611d166b5f158cede371f73c26e2a937 (patch)
tree7a78af106e22efcbb5e561eb600568d8f8d60d37 /bitbake/lib
parent5a293287af999941b6add946362ea88a5c665037 (diff)
downloadpoky-b14482ef611d166b5f158cede371f73c26e2a937.tar.gz
bitbake: 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. (Bitbake rev: a84f296591be26972b808e98816e9d92cadf3eb5) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basetable_top.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
index f6259011e8..22c389799a 100644
--- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html
+++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
@@ -33,6 +33,7 @@
33 <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%} 33 <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%}
34 <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> 34 <input type="hidden" name="orderby" value="{{request.GET.orderby}}">
35 <input type="hidden" name="page" value="1"> 35 <input type="hidden" name="page" value="1">
36 <input type="hidden" name="count" value="{{request.GET.count}}">
36 <button class="btn" type="submit" value="Search">Search</button> 37 <button class="btn" type="submit" value="Search">Search</button>
37 </form> 38 </form>
38 <div class="pull-right"> 39 <div class="pull-right">