mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Drop IDOrderDesc
for listing Actions task and always order by id DESC
(#31150)
Close #31066 Just follow what `FindRunOptions` and `FindScheduleOptions` do.
This commit is contained in:
@@ -79,9 +79,8 @@ func RunnerDetails(ctx *context.Context, page int, runnerID, ownerID, repoID int
|
||||
Page: page,
|
||||
PageSize: 30,
|
||||
},
|
||||
Status: actions_model.StatusUnknown, // Unknown means all
|
||||
IDOrderDesc: true,
|
||||
RunnerID: runner.ID,
|
||||
Status: actions_model.StatusUnknown, // Unknown means all
|
||||
RunnerID: runner.ID,
|
||||
}
|
||||
|
||||
tasks, count, err := db.FindAndCount[actions_model.ActionTask](ctx, opts)
|
||||
|
Reference in New Issue
Block a user