summaryrefslogtreecommitdiffstats
path: root/models/actions/runner.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/actions/runner.go')
-rw-r--r--models/actions/runner.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/models/actions/runner.go b/models/actions/runner.go
index c79a6827fc..ec6b49cf16 100644
--- a/models/actions/runner.go
+++ b/models/actions/runner.go
@@ -189,6 +189,12 @@ func (opts FindRunnerOptions) toOrder() string {
return "last_online ASC"
case "alphabetically":
return "name ASC"
+ case "reversealphabetically":
+ return "name DESC"
+ case "newest":
+ return "id DESC"
+ case "oldest":
+ return "id ASC"
}
return "last_online DESC"
}