Skip to content
Snippets Groups Projects
Commit 7a585f5b authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Order round admin by end date by default.

parent bb97f896
No related branches found
No related tags found
No related merge requests found
...@@ -130,6 +130,7 @@ class ApplicationFormButtonHelper(ButtonHelper): ...@@ -130,6 +130,7 @@ class ApplicationFormButtonHelper(ButtonHelper):
class RoundAdminURLHelper(PageAdminURLHelper): class RoundAdminURLHelper(PageAdminURLHelper):
@cached_property @cached_property
def index_url(self): def index_url(self):
# By default set open filter for Round listing page's index URL # By default set open filter and sort on end date
params = {'form-state': 'open'} # for Round listing page's index URL
params = {'form-state': 'open', 'o': '-3'}
return f"{self.get_action_url('index')}?{urlencode(params)}" return f"{self.get_action_url('index')}?{urlencode(params)}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment