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 · 1 comment
Open

Expose the parent in dynamic filters options #3391

adrianthedev opened this issue Nov 6, 2024 · 1 comment

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.

Copy link
Contributor

This issue has been marked as stale because there was no activity for the past 15 days.

@github-actions github-actions bot added the Stale label Nov 23, 2024
@Paul-Bob Paul-Bob removed the Stale label Nov 23, 2024
@adrianthedev adrianthedev moved this to Next up in Issues Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Next up
Development

No branches or pull requests

2 participants