You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I order the list of pages according to the (custom) page variable, which is optional, if this does not exist (it has a value of NULL), in the case of ascending ordering, the pages with NULL are at the end, in the case of descending ordering, the pages with NULL are at the beginning. But I would need the NULL values to be ordered before 0, or vice versa after 0.
Specifically in the case of {% set options = { items: {'@page.children': '/my-page'}, 'limit': 10, 'order': {'by': 'header.progress', 'dir': 'desc'}, 'pagination': false } %}, instead of the following output:
NULL
5
4
3
2
1
0
I want this output:
5
4
3
2
1
0
NULL
Now I solve it by double browsing, but it is not very comfortable, and mainly it takes twice as much time.
The text was updated successfully, but these errors were encountered:
If I order the list of pages according to the (custom) page variable, which is optional, if this does not exist (it has a value of
NULL
), in the case of ascending ordering, the pages withNULL
are at the end, in the case of descending ordering, the pages withNULL
are at the beginning. But I would need theNULL
values to be ordered before0
, or vice versa after0
.Specifically in the case of
{% set options = { items: {'@page.children': '/my-page'}, 'limit': 10, 'order': {'by': 'header.progress', 'dir': 'desc'}, 'pagination': false } %}
, instead of the following output:I want this output:
Now I solve it by double browsing, but it is not very comfortable, and mainly it takes twice as much time.
The text was updated successfully, but these errors were encountered: