-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
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
$sort when field data is NULL #608
Comments
Hello. Maybe you should try to ask in the feathers repository. |
@MariaCamilaCubides you may have already created a workaround for this. If you could provide a small sample data set for which this fails, or even better would be a failing test example, then I can look into it. |
Hello @marshallswain. |
@MariaCamilaCubides it looks like the PR got merged. Can this issue be closed? |
Description
Hello, guys. I am making a query to the store filter by an array of ids and sorting by a specific field, but it doesn't matter if I sort ASC or DES the NULL value is always at the first position of the result.
The array of devicesIds is [ "a1732fb5-dca7-4895-a668-eacca0c10fb9", "361ce725-a5dc-4e43-ae73-a29a2ac0eec7" ]
And the last user of those Ids are the following:
The query for the store is:
Expected behavior
The result will be the data of the device with ID "361ce725-a5dc-4e43-ae73-a29a2ac0eec7"
Actual behavior
The actual result is the data of the device with ID "a1732fb5-dca7-4895-a668-eacca0c10fb9"
System configuration
feathers-vuex: 3.16.0
The text was updated successfully, but these errors were encountered: