Skip to Content
Menú
This question has been flagged
2 Respostes
8442 Vistes

Is there a chance to sort groups by condition?

My problem:

<xpath expr="//filter[@string='Type']" position="after">                    
<filter string="Days" name="days_group" domain="[]" context="{'group_by':'date:day'}"/>
<filter string="Months" name="days_group" domain="[]" context="{'group_by':'date:month'}"/>
</xpath>

Grouped records are in descending order which is ok for me but i want to sort groups in the same way.


Avatar
Descartar

More details please. How do you get the groups?

Autor Best Answer

By context which I wrote above.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de gen. 24
15003
0
de set. 21
3386
0
de febr. 21
2680
3
de jul. 25
8774
1
de maig 25
1073