From ad460a23bc6246e1406ae2c52ae8977a442d7e22 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 24 Oct 2011 03:31:19 +0100 Subject: [PATCH] wtf --- itf/insidepages/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/insidepages/views.py b/itf/insidepages/views.py index 1da8708..d89fa69 100755 --- a/itf/insidepages/views.py +++ b/itf/insidepages/views.py @@ -6,7 +6,7 @@ from ox.django.shortcuts import render_to_json_response def main(request, module_slug): m = get_object_or_404(Module, slug=module_slug) - tabs = m.moduletab_set.all() + tabs = m.moduletab_set.all().order_by('order') default_tab = tabs[0] try: formStr = default_tab.model_class().add_form