Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
8622 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
січ. 24
15342
0
вер. 21
3386
0
лют. 21
2680
3
лип. 25
9297
1
трав. 25
1498