Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
8430 Vistas

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
Descartar

More details please. How do you get the groups?

Autor Mejor respuesta

By context which I wrote above.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 24
14943
0
sept 21
3386
0
feb 21
2680
3
jul 25
8745
1
may 25
1039