From 3ef205ec3adfce4c4d451ed02e534a67cff3cae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 2 Jan 2015 15:48:40 +0100 Subject: [PATCH] Really order categories by name issue4433 review6781003 --- category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/category.py b/category.py index 32b4d98c7b..c6f89d8c73 100644 --- a/category.py +++ b/category.py @@ -35,7 +35,7 @@ class Category(ModelSQL, ModelView): 'wrong_name': ('Invalid category name "%%s": You can not use ' '"%s" in name field.' % SEPARATOR), }) - cls._order.insert(1, ('name', 'ASC')) + cls._order.insert(0, ('name', 'ASC')) @staticmethod def default_active():