0.4.32 fix get_footer_contacts
This commit is contained in:
@@ -8,7 +8,7 @@ def get_logo_url():
|
|||||||
|
|
||||||
def get_footer_contacts():
|
def get_footer_contacts():
|
||||||
from .models import Option
|
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
|
return options
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user