1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-21 17:58:35 +00:00

Add sort option recentclose for issues and pulls (#34525)

closes #34171 

Adds a new sort option `recentclose` for issues and pull requests which
will return items in a descending order of when they were closed
This commit is contained in:
Markus Amshove
2025-05-26 18:37:38 +02:00
committed by GitHub
parent 11ee7ff3bf
commit 50d9565088
5 changed files with 48 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ func ListPullRequests(ctx *context.APIContext) {
// in: query
// description: Type of sort
// type: string
// enum: [oldest, recentupdate, leastupdate, mostcomment, leastcomment, priority]
// enum: [oldest, recentupdate, recentclose, leastupdate, mostcomment, leastcomment, priority]
// - name: milestone
// in: query
// description: ID of the milestone