Unverified Commit 9de12563 authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Sort boards descending by default

Places like the boards page seem to use the default
parent 5360100a
......@@ -113,7 +113,10 @@ class Committee(models.Model, metaclass=ModelTranslateMeta):
class BoardManager(models.Manager):
def get_queryset(self):
return super().get_queryset().filter(is_board=True)
# sorting by descending order by default makes more sense for boards
return (super().get_queryset()
class Board(Committee):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment