#1014 make bottom pagination links on project list respect the sorting filter
Merged 7 years ago by ryanlerch. Opened 7 years ago by ryanlerch.
ryanlerch/pagure next-page-links  into  master

@@ -116,7 +116,7 @@ 

              {{ render_row(list) }}

          </div>

          {% if total and total > 1 %}

-         {{ pagination_link(pagetitle, page, total) }}

+         {{ pagination_link(pagetitle, page, total, sorting) }}

          {% endif %}

      </section>

  {% endmacro %}

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

Pull-Request has been merged by ryanlerch

7 years ago
Metadata