コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
8614 ビュー

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.


アバター
破棄

More details please. How do you get the groups?

著作者 最善の回答

By context which I wrote above.

アバター
破棄
関連投稿 返信 ビュー 活動
2
1月 24
15327
0
9月 21
3386
0
2月 21
2680
3
7月 25
9264
1
5月 25
1480