mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8c25c3491b
commit
87074af8ce
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user