From d2a26654bbf18a0805e93ef5fdc8b03898782cbc Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: May 30 2016 09:52:27 +0000 Subject: make bottom pagination links on project list respect the sorting filter Previously, if a sorting filter was enabled, and the pagination links at the bottom of the Browse Projects page were used, the sort would no longer apply. It did, however work if the top pagination links were used. With this commit, the pagination links at the top and bottom both respect the current sorting filter Fixes: #1013 --- diff --git a/pagure/templates/_render_repo.html b/pagure/templates/_render_repo.html index 9b38080..231a2fb 100644 --- a/pagure/templates/_render_repo.html +++ b/pagure/templates/_render_repo.html @@ -116,7 +116,7 @@ {{ render_row(list) }} {% if total and total > 1 %} - {{ pagination_link(pagetitle, page, total) }} + {{ pagination_link(pagetitle, page, total, sorting) }} {% endif %} {% endmacro %}