-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make it easier to use backend filters #48
Comments
Note: think about how to implement filters like |
Some other notes:
|
Another idea, taking into account the notes above: store.setParam(Params.FILTER_RANGE, 'startDate', [moment(), moment()]);
store.setParam(Params.FILTER_CUSTOM, 'deleted', true);
store.setParam(Params.SORT_ASC, 'pastOwner.lastName'); Problem with this;
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes you want to fetch a store from the backend but with some filters applied.
Our Django-Binder stack has a lot of auto-generated filters. To filter a store on a customer id we can do something like this:
For a customer filter the backend has defined it looks about the same;
The syntax for defining this is a bit weird + doesn't use camelCasing. We can perhaps fix it to look like this;
The text was updated successfully, but these errors were encountered: