Skip to content

Commit b77789f

Browse files
committed
Fix admin job request list to order by -priority (descending)
The admin queryset_order was missed in 11253fb and still used ascending priority, showing low-priority jobs first. https://claude.ai/code/session_01SAwXTCVJRjkA4dEmP8CQ4T
1 parent a753e5f commit b77789f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plain-jobs/plain/jobs/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class ListView(AdminModelListView):
142142
"concurrency_key",
143143
]
144144
actions = ["Delete"]
145-
queryset_order = ["priority", "-start_at", "-created_at"]
145+
queryset_order = ["-priority", "-start_at", "-created_at"]
146146

147147
def perform_action(self, action: str, target_ids: list[int]) -> None:
148148
if action == "Delete":

0 commit comments

Comments
 (0)