From 41ffcddbfdf1c47c66a4bd0aafc4a78074598c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 10 Jun 2008 13:53:46 +0200 Subject: [PATCH] Remove order on parent as it doesn't work with the new order feature --- category.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/category.py b/category.py index be01a01779..3aa48b6a18 100644 --- a/category.py +++ b/category.py @@ -15,8 +15,7 @@ class Category(OSV): def __init__(self): super(Category, self).__init__() - self._order.insert(0, ('parent', 'ASC')) - self._order.insert(1, ('name', 'ASC')) + self._order.insert(0, ('name', 'ASC')) def get_complete_name(self, cursor, user, ids, name, arg, context=None): res = self.name_get(cursor, user, ids, context=context)