This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi
in my model I have columns with values like below:
22,233223
22,322424
22,233232
10,212122
10,212121
23,34252
23,256466
and I need filter on first column, but with unique options (22,10,23),
in config_filter.yaml I can set static(?) options, but I need to get these dynamically from model
how do this?
Last updated
I think you are looking for a filter scope
: http://octobercms.com/docs/backend/lists#list-filters
by232123 said:
Found a solution for this?
nope, it turned out that range of values from first column was known, so I put simple array in config_filter.yaml in scopes with all this values...
1-4 of 4