Admin: řaď problémy podle času vytvoření
(požadováno na schůzce) Je otázka, jestli je to vhodné i pro zadané problémy
This commit is contained in:
parent
a2c24c5a63
commit
36f308ed32
1 changed files with 1 additions and 0 deletions
|
@ -310,6 +310,7 @@ class ProblemAdmin(VersionAdmin):
|
|||
list_select_related = True
|
||||
search_fields = ['nazev', 'text_zadani', 'text_reseni', 'text_org']
|
||||
view_on_site = Problem.verejne_url
|
||||
ordering = ['-timestamp']
|
||||
|
||||
def get_queryset(self, request):
|
||||
qs = super(ProblemAdmin, self).get_queryset(request)
|
||||
|
|
Loading…
Reference in a new issue