[PR #2013] [MERGED] Keep sort when switching page #16180

Closed
opened 2025-11-02 12:04:07 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2013
Author: @iszla
Created: 6/19/2017
Status: Merged
Merged: 6/22/2017
Merged by: @lunny

Base: masterHead: PaginationSort


📝 Commits (1)

  • 81b6ea5 Keep sort when switching page

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 templates/base/paginate.tmpl (+5 -5)

📄 Description

Keep chosen sort when browser through pages with pagination. I put the sort query parameter first, as that is how it appears in the URL when first selecting a sort type.
Fixes https://github.com/go-gitea/gitea/issues/1980


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2013 **Author:** [@iszla](https://github.com/iszla) **Created:** 6/19/2017 **Status:** ✅ Merged **Merged:** 6/22/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `PaginationSort` --- ### 📝 Commits (1) - [`81b6ea5`](https://github.com/go-gitea/gitea/commit/81b6ea599391809df85fe34f9a5dfebded8ad08a) Keep sort when switching page ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `templates/base/paginate.tmpl` (+5 -5) </details> ### 📄 Description Keep chosen sort when browser through pages with pagination. I put the sort query parameter first, as that is how it appears in the URL when first selecting a sort type. Fixes https://github.com/go-gitea/gitea/issues/1980 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:04:07 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16180