Closed
Description
Description
visit https://git.example.com/pulls
- The sort of pr is
- A1
- A2
- A3
- Then
A3
has new push, the sort is- A3
- A1
- A2
- Then query the keyword
A
, the sort is- A1
- A2
- A3
Gitea Version
1.23.7
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL/MariaDB
Activity
badhezi commentedon May 28, 2025
I believe the issue here is that
sort
query parameter is discarded when a keyword filter is introduced.created #34559
I also believe the correct behavior is to retain the sort type when searching, i.e you want to see all recently updated PRs that include "X" keyword.
Retain issue sort type when a keyword search is introduced (go-gitea#…
Retain issue sort type when a keyword search is introduced (go-gitea#…
Retain issue sort type when a keyword search is introduced (#34559) (#…