Filter with recursive relationship
I have
If I try to add a
Where is says
organisations that can be of different types. One type is school, which has a relation to a parent organisation, with type foundation.If I try to add a
SelectFilter on School, filtering on parent Foundation, I get a bug in the resulting query. For easy comparing, I added another (non-recursive) filter.Where is says
and org__organisation.organisation_id = '6' it should say and organisation_id = '6' (or alias laravel_reserved_0)- Is this indeed a bug or am I doing it wrong?
- If I understand correctly, anything more complex than a simple relation requires a custom
Tables\Filters\Filterwith a->form()and a->query(). Correct? - I created such a custom filter for the recursive relationship. It works beautifully, except it's not showing up in the "Active filters". How can I have it listed there?