Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
8604 Vues

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
Ignorer

More details please. How do you get the groups?

Auteur Meilleure réponse

By context which I wrote above.

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
janv. 24
15312
0
sept. 21
3386
0
févr. 21
2680
3
juil. 25
9241
1
mai 25
1465