summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-02-02 17:27:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-10 23:07:49 +0000
commit87074af8ceb712a0c31af05d3ec7a607cb186d6c (patch)
tree135eac21b56ed831c342c5265c7ff52077c5c6c5 /bitbake
parent8c25c3491b851e5cfed66b7ec458ef369f531065 (diff)
downloadpoky-87074af8ceb712a0c31af05d3ec7a607cb186d6c.tar.gz
bitbake: toaster: machines Make sure we don't overwrite the pagesize
The pagesize was accidentally being over written and should be set to the value returned from the cookie if there was one. (Bitbake rev: 2c3b84f5012196c62be3ecf212e9752ee307635c) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 641170e639..9d85a93b7b 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2778,7 +2778,7 @@ if toastermain.settings.MANAGED:
2778 # be able to display something. 'count' and 'page' are mandatory for all views 2778 # be able to display something. 'count' and 'page' are mandatory for all views
2779 # that use paginators. 2779 # that use paginators.
2780 (pagesize, orderby) = _get_parameters_values(request, 10, 'updated:+') 2780 (pagesize, orderby) = _get_parameters_values(request, 10, 'updated:+')
2781 mandatory_parameters = { 'count': 10, 'page' : 1, 'orderby' : 'name:+' }; 2781 mandatory_parameters = { 'count': pagesize, 'page' : 1, 'orderby' : orderby };
2782 retval = _verify_parameters( request.GET, mandatory_parameters ) 2782 retval = _verify_parameters( request.GET, mandatory_parameters )
2783 if retval: 2783 if retval:
2784 return _redirect_parameters( 'machines', request.GET, mandatory_parameters) 2784 return _redirect_parameters( 'machines', request.GET, mandatory_parameters)