Really order categories by name

issue4433
review6781003
This commit is contained in:
Cédric Krier
2015-01-02 15:48:40 +01:00
parent ff1cfa5737
commit 3ef205ec3a
+1 -1
View File
@@ -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():