mirror of https://github.com/OCA/web.git
[12.0][FIX]web_timeline: fix group orders
parent
1f4fe5450e
commit
51699368ac
|
@ -4,7 +4,7 @@
|
||||||
{
|
{
|
||||||
'name': "Web timeline",
|
'name': "Web timeline",
|
||||||
'summary': "Interactive visualization chart to show events in time",
|
'summary': "Interactive visualization chart to show events in time",
|
||||||
"version": "12.0.1.0.3",
|
"version": "12.0.1.0.4",
|
||||||
"development_status": "Production/Stable",
|
"development_status": "Production/Stable",
|
||||||
'author': 'ACSONE SA/NV, '
|
'author': 'ACSONE SA/NV, '
|
||||||
'Tecnativa, '
|
'Tecnativa, '
|
||||||
|
|
|
@ -166,7 +166,8 @@ odoo.define('web_timeline.TimelineView', function (require) {
|
||||||
if (grp2.id === -1) {
|
if (grp2.id === -1) {
|
||||||
return +1;
|
return +1;
|
||||||
}
|
}
|
||||||
return grp1.content - grp2.content;
|
|
||||||
|
return grp1.content.locateCompare(grp2.content);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue