[bitbake-devel] [PATCH 5/8] toaster: searching all projects table resets page count

Alex DAMIAN alexandru.damian at intel.com
Thu Apr 16 14:47:38 UTC 2015


From: David Reyna <David.Reyna at windriver.com>

Add missing '_save_parameters_cookies' to preserve page count.

[YOCTO #7483]

Signed-off-by: David Reyna <David.Reyna at windriver.com>
---
 lib/toaster/toastergui/views.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index be59c83..500834c 100755
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -3330,7 +3330,10 @@ if toastermain.settings.MANAGED:
                     },
                     ]
             }
-        return render(request, template, context)
+
+        response = render(request, template, context)
+        _save_parameters_cookies(response, pagesize, orderby, request)
+        return response
 
     def buildrequestdetails(request, pid, brid):
         template = "buildrequestdetails.html"
-- 
1.9.1




More information about the bitbake-devel mailing list