Skip to content
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

Add default filter parameter (non removable) to datagrids #548

Closed
mdhooge opened this issue Jul 5, 2015 · 2 comments
Closed

Add default filter parameter (non removable) to datagrids #548

mdhooge opened this issue Jul 5, 2015 · 2 comments
Assignees

Comments

@mdhooge
Copy link
Contributor

mdhooge commented Jul 5, 2015

It'd be nice to be able to add “any param” to a view, that could then be handled by a Restangular Interceptor.

My need is to have several collections in the dashboard on the same entity, with forced filters.
I cheated with a dummy sort filter (and an object as direction). This works well as long as I don't try to sort the collection with another column, of course.
So, it'd be nice…

@fzaninotto
Copy link
Member

The real need being pre-filtered lists, I totally agree with you. It's a much needed feature. As your issue title mentions a solution more than a requirement, I took the liberty to rename it.

We'll look into it shortly.

@fzaninotto fzaninotto changed the title Add arbitrary param to be used by Restangular Interceptor Add default filter parameter (non removable) to datagrids Jul 6, 2015
@mdhooge
Copy link
Contributor Author

mdhooge commented Jul 6, 2015

I don't mind changing the title ;-)

But maybe it is also interesting to be able to send "hints" to Interceptors. Because this is a very powerful way to adapt the admin to any need! I could open another issue…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants