Skip to content

Expose the parent in dynamic filters options #3391

@adrianthedev

Description

@adrianthedev

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.

Metadata

Metadata

Assignees

Labels

EnhancementNot necessarily a feature, but something has improvedStale exempt

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions