paginator links do not keep "archive" filtering parameter from current view, which may lead to inaccurate data displayed in the next views.
This change adds the "archive" parameter read from the current request to the paginator class. [YOCTO #11200] Signed-off-by: Jose Lamego <jose.a.lam...@linux.intel.com> --- patchwork/paginator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patchwork/paginator.py b/patchwork/paginator.py index 0f6d684..88fca29 100644 --- a/patchwork/paginator.py +++ b/patchwork/paginator.py @@ -93,3 +93,4 @@ class Paginator(paginator.Paginator): self.leading_set.reverse() self.long_page = len( self.current_page.object_list) >= LONG_PAGE_THRESHOLD + self.archive = request.GET.get("archive") -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto