This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

pm13196
pm13196

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

Bhargav
Bhargav

Found a solution for this?

alxy
alxy

I think you are looking for a filter scope: http://octobercms.com/docs/backend/lists#list-filters

pm13196
pm13196

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.