Skip to content
Snippets Groups Projects
Commit dfd9aa6d authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

Merge branch 'master' of git.imaniti.org:/Tomas/Contract-Registry

parents 1dc9d3f3 a29086e8
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ def get_paginated_contracts(request, filter=None) -> tuple:
contracts = (
get_objects_for_user(request.user, "contracts.view_contract")
.filter(filter)
.order_by("valid_start_date")
.order_by("-valid_start_date")
.all()
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment