From d4a35ba911190c6401eb28d3134bf74d5577221c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 6 Dec 2016 10:36:46 +0100 Subject: [PATCH] Fix organization order --- app/organization/core/context_processors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/organization/core/context_processors.py b/app/organization/core/context_processors.py index 684b776b..be0e0ebc 100644 --- a/app/organization/core/context_processors.py +++ b/app/organization/core/context_processors.py @@ -17,8 +17,8 @@ def settings(request): # HOST ORGANIZATION host_org = Organization.objects.get(is_host=True) - linked_org_content = host_org.organizations_content.filter(organizations_content__id=host_org.id).order_by('organizations_content__order') - linked_org_footer = host_org.organizations_footer.filter(organizations_footer__id=host_org.id).order_by('organizations_footer__order') + linked_org_content = host_org.organizations_content.filter(organizations_content__id=host_org.id).order_by('order') + linked_org_footer = host_org.organizations_footer.filter(organizations_footer__id=host_org.id).order_by('order') research_slug = "recherche" return {'current_season': current_season, -- 2.39.5