This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
yooniks930379
Hello,
I wish to create a filter by country,
I had created a config_filter.yaml
scopes:
country:
label: Country
modelClass: Custom\Dealers\Models\Dealers
conditions: id in (select country from custom_dealers where country in (:filtered) )
nameFrom: country
This is my sample of data: https://drive.google.com/open?id=1DrfLDwur9FPnKuf8mzrMAMCnSfIXq4BW
at the backend list view, I clicked the filter and controller load very slow, because the countries are not grouped.
how do I make the filter field "country" by group?
1-1 of 1