Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
8473 Tampilan

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
Buang

More details please. How do you get the groups?

Penulis Jawaban Terbai

By context which I wrote above.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jan 24
15066
0
Sep 21
3386
0
Feb 21
2680
3
Jul 25
8878
1
Mei 25
1130