From 3ff4a480e2baa2f183ecc4b705bf9e6ccfc749e6 Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 22 Dec 2023 18:21:47 +0500 Subject: [PATCH] 0.4.32 fix get_footer_contacts --- GeneralApp/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneralApp/funcs.py b/GeneralApp/funcs.py index 8a8ebd3..c26d7a4 100644 --- a/GeneralApp/funcs.py +++ b/GeneralApp/funcs.py @@ -8,7 +8,7 @@ def get_logo_url(): def get_footer_contacts(): from .models import Option - options = Option.objects.filter(enable=True, opt_type__in=['footer_email', 'footer_phone']) + options = Option.objects.filter(enable=True, opt_type__in=['footer_email', 'footer_phone']).order_by('order') return options