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

Question/Feature Request: Additional user search/filtering on related_views. #1973

Closed
steve-embling opened this issue Dec 28, 2022 · 2 comments

Comments

@steve-embling
Copy link
Contributor

Environment

Flask-Appbuilder version: Flask-AppBuilder==3.4.5

Describe the expected results

I expected the ability for users to filter on additional fields on top of the parent ID in a related list view, similar to the usual list modelview. Is this possible in any way? Main reason is for select-all and and multiple item actions it would be useful when you have lots of child items.

Right now it seems to need leaving the related view and navigating to the child item's own list view and then manually configuring the same parent ID filter along with the extra filters - which is a bit unfriendly when everything else already accessible from the related_view.

Is this behaviour supported in any way or on the roadmap?

Describe the actual results

Any filtering queries via GET do not filter the related_view items, and the search accordion isn't present for related_views.

Steps to reproduce

@ThomasP0815
Copy link
Contributor

#1432

@steve-embling
Copy link
Contributor Author

steve-embling commented Jan 6, 2023

#1432

Swear i searched open and closed issues, pull requests, stack overflow and google for well over an hour looking for anyone raising this before.

Thanks, I'll give this a try over the next couple days - is there any indication outside that thread and PR as to why the needed changes to the framework were not accepted?

Edit: Just tested now, and sure enough - seems to work great from a few quick checks!

Really appreciated, thank you.

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

No branches or pull requests

2 participants