forked from dohzoh/sails-dynamodb
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
It seems that sort conditions are not taken into account.
In index.js in the Sort section you have this code:
var sort = _.keys(options.sort)[0];
if (sort) {
query.ascending();
}
else if (sort == -1) {
query.descending();
}
It can't even work as sort equals the key and not the value.
Are there any plan to update this behaviour ?
Metadata
Metadata
Assignees
Labels
No labels