Skip to content

Filtering with cascade dropdown association (grandparent, parent) #2934

@newfylox

Description

@newfylox

Hi, I was wondering if it's possible to filter a model list (in the ListView) using cascade dropdowns grandparent associations (like we do with continent, country, states, city, etc.)

eg.

GrandGrandParent has_many GrandParent

GrandParent belongs_to GrandGrandParent
GrandParent has_many Parent

Parent belongs_to GrandParent
Parent has_many Child

Child belongs_to Parent

So I want to filter child by choosing a GrandGrandParent (or at least the GrandParent), and then choosing the parent, etc. and by choosing a GrandParent, the parent dropdown is filtered by the association of the choosen GrandParent.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions