Do adminu pridano zamereni ulohy do nezadanych problemu
This commit is contained in:
parent
84134f3c8f
commit
f743d70e6b
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ class ProblemAdmin(reversion.VersionAdmin):
|
||||||
|
|
||||||
class ProblemNavrhAdmin(ProblemAdmin):
|
class ProblemNavrhAdmin(ProblemAdmin):
|
||||||
list_display = ['nazev', 'typ', 'stav', 'autor', 'timestamp']
|
list_display = ['nazev', 'typ', 'stav', 'autor', 'timestamp']
|
||||||
list_filter = ['typ', 'stav', 'timestamp']
|
list_filter = ['typ', 'zamereni', 'timestamp', 'stav']
|
||||||
|
|
||||||
def get_queryset(self, request):
|
def get_queryset(self, request):
|
||||||
qs = super(ProblemNavrhAdmin, self).get_queryset(request)
|
qs = super(ProblemNavrhAdmin, self).get_queryset(request)
|
||||||
|
|
Loading…
Reference in a new issue