Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
8590 Представления

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
15277
0
сент. 21
3386
0
февр. 21
2680
3
июл. 25
9185
1
мая 25
1424