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
orderBy
I got a model with the number field rank: static fields() { return { ID: this.string(''), rank: this.number(0), }
rank
static fields() { return { ID: this.string(''), rank: this.number(0), }
When using orderBy until 0.34.x the query result was correctly sorted:
TestModel.query().orderBy('rank').get();
sorted the data in the correct numerical order: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,...
with the update to 0.35.x the number field is sorted alphabetically: 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9,..
I already took a look at the changes but sadly could not find the source of this bug.
The text was updated successfully, but these errors were encountered:
fixes orderBy bug vuex-orm#549
1394fa5
Fixed with Vuex ORM 0.35.2! 🎉 Thanks to @cuebit! https://github.com/vuex-orm/vuex-orm/releases/tag/v0.35.2
Sorry, something went wrong.
No branches or pull requests
I got a model with the number field
rank
:static fields() { return { ID: this.string(''), rank: this.number(0), }
When using
orderBy
until 0.34.x the query result was correctly sorted:TestModel.query().orderBy('rank').get();
sorted the data in the correct numerical order: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,...
with the update to 0.35.x the number field is sorted alphabetically: 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9,..
I already took a look at the changes but sadly could not find the source of this bug.
The text was updated successfully, but these errors were encountered: