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

Expose the parent in dynamic filters options #3391

Open
adrianthedev opened this issue Nov 6, 2024 · 0 comments
Open

Expose the parent in dynamic filters options #3391

adrianthedev opened this issue Nov 6, 2024 · 0 comments

Comments

@adrianthedev
Copy link
Collaborator

adrianthedev commented Nov 6, 2024

Feature

When you use the dynamic filters in an association you might need information from the parent record (Post and Comments, you want to know who the Post is).

Dynamic filters suggestions (and other options which can be called as blocks) don't have this information.

Let's send in the params the record_id and resource_class?

Current workarounds

Use the referrer URL and extract from there

Screenshots or screen recordings

Image

Additional context

I think the same applies for ordering. Sometimes you need the parent. Yaro had a situation like this at some point.

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

No branches or pull requests

1 participant