diff options
| author | Jeremy Kersten <jke@odoo.com> | 2015-01-19 16:16:57 +0100 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2015-01-19 16:23:30 +0100 |
| commit | 4a499efcf48bbb84beca5613f51ebf3c3e9f4056 (patch) | |
| tree | c755ead7b7053369c4a18e8a4986ef367777d54c /addons/website_customer/controllers | |
| parent | 81588efe2679fb3049dc3a6ba0ffb9b93822976d (diff) | |
[IMP] website_customer: display filter by tag first, and sort tags by classname before the name.
Diffstat (limited to 'addons/website_customer/controllers')
| -rw-r--r-- | addons/website_customer/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_customer/controllers/main.py b/addons/website_customer/controllers/main.py index 87cc5211fa5..cc29a0072a6 100644 --- a/addons/website_customer/controllers/main.py +++ b/addons/website_customer/controllers/main.py @@ -88,7 +88,7 @@ class WebsiteCustomer(http.Controller): tag_obj = request.registry['res.partner.tag'] tag_ids = tag_obj.search(cr, uid, [('website_published', '=', True), ('partner_ids', 'in', partner_ids)], - order='name ASC', context=context) + order='classname, name ASC', context=context) tags = tag_obj.browse(cr, uid, tag_ids, context=context) tag = tag_id and tag_obj.browse(cr, uid, tag_id, context=context) or False |
