Skip to Content
Menu
This question has been flagged
2 Replies
8617 Rodiniai

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.


Portretas
Atmesti

More details please. How do you get the groups?

Autorius Best Answer

By context which I wrote above.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
saus. 24
15332
0
rugs. 21
3386
0
vas. 21
2680
3
liep. 25
9275
1
geg. 25
1488