Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
8618 Visninger

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
Kassér

More details please. How do you get the groups?

Forfatter Bedste svar

By context which I wrote above.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
jan. 24
15332
0
sep. 21
3386
0
feb. 21
2680
3
jul. 25
9275
1
maj 25
1489