We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created a test site with 400 randomly generated flex objects, They are all labeled "testXXXX" where XXXX is a random number between 1000 and 9999
There is also a couple objects added as control, such as "ABC" "DASD" "ZYX".
When using:
{% set contacts = grav.get('flex').collection('contacts') %} {% set contacts = contacts.filterBy({'published': true}).sort({nome: 'ASC'}) %}
As you can see, one would not expect "Laura" to be first, but rather ABC.
Sometimes the sorting is even weirder depending on the query result.
The text was updated successfully, but these errors were encountered:
It looks like the sorting is case sensitive, ordering looks correct though. Try out my fix in Grav core.
Sorry, something went wrong.
mahagr
No branches or pull requests
I created a test site with 400 randomly generated flex objects, They are all labeled "testXXXX" where XXXX is a random number between 1000 and 9999
There is also a couple objects added as control, such as "ABC" "DASD" "ZYX".
When using:
As you can see, one would not expect "Laura" to be first, but rather ABC.
Sometimes the sorting is even weirder depending on the query result.
The text was updated successfully, but these errors were encountered: