Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
8466 Zobrazení

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
Zrušit

More details please. How do you get the groups?

Autor Nejlepší odpověď

By context which I wrote above.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
led 24
15054
0
zář 21
3386
0
úno 21
2680
3
čvc 25
8873
1
kvě 25
1127