diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-02-02 17:27:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-10 23:07:49 +0000 |
commit | 87074af8ceb712a0c31af05d3ec7a607cb186d6c (patch) | |
tree | 135eac21b56ed831c342c5265c7ff52077c5c6c5 /bitbake | |
parent | 8c25c3491b851e5cfed66b7ec458ef369f531065 (diff) | |
download | ast2050-yocto-poky-87074af8ceb712a0c31af05d3ec7a607cb186d6c.zip ast2050-yocto-poky-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-x | bitbake/lib/toaster/toastergui/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 641170e..9d85a93 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -2778,7 +2778,7 @@ if toastermain.settings.MANAGED: # be able to display something. 'count' and 'page' are mandatory for all views # that use paginators. (pagesize, orderby) = _get_parameters_values(request, 10, 'updated:+') - mandatory_parameters = { 'count': 10, 'page' : 1, 'orderby' : 'name:+' }; + mandatory_parameters = { 'count': pagesize, 'page' : 1, 'orderby' : orderby }; retval = _verify_parameters( request.GET, mandatory_parameters ) if retval: return _redirect_parameters( 'machines', request.GET, mandatory_parameters) |