Skip to content

Commit 0af34c7

Browse files
committed
feat: job backoffice enhancement
1 parent d73c393 commit 0af34c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gateway/api/admin.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ class ComputeResourceAdmin(admin.ModelAdmin):
4646
class JobAdmin(admin.ModelAdmin):
4747
"""JobAdmin."""
4848

49-
search_fields = ["author__username", "program__title"]
49+
search_fields = ["id", "author__username", "program__title"]
5050
list_filter = ["status"]
5151
exclude = ["arguments", "env_vars", "logs", "result"]
52+
ordering = ['-created']
5253

5354

5455
@admin.register(RuntimeJob)

0 commit comments

Comments
 (0)