Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
8471 Widoki

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.


Awatar
Odrzuć

More details please. How do you get the groups?

Autor Najlepsza odpowiedź

By context which I wrote above.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sty 24
15059
0
wrz 21
3386
0
lut 21
2680
3
lip 25
8874
1
maj 25
1130