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
Hi!
I'm lacking sorting on nesting property (and potentialy search on).
Imagine the following objects:
let data = [ {name: 'John Doe', metrics: {a: 15, b:17}}, {name: 'Jane Doe', metrics: {a: 18, b:2}} ];
I want to be able to write:
let s = new Sifter(data).search('', { fields: [], sort: [{field: 'metrics.a', direction: 'asc'}] });
Is there a way to do this today ?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hi!
I'm lacking sorting on nesting property (and potentialy search on).
Imagine the following objects:
I want to be able to write:
Is there a way to do this today ?
The text was updated successfully, but these errors were encountered: