This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I kinda have problems with the Backend List Filters since the beginning of October 3.0.
Before the migration, everything worked fine. After the migration, the options are still selected within the filter as before, but they're not used on the list automatically. http://prntscr.com/Y-ijbkKqyshy
state:
label: 'mch.heads::lang.terms.status'
type: group
modelClass: Mch\Heads\Models\Submission
options: getStateOptions
conditions: state in (:filtered)
default:
0: 'Not Validated'
public function getStateOptions()
{
return [
0 => 'Not Validated',
1 => 'Added to Main Collection',
2 => 'Added to User Collection',
3 => 'Added to Blacklist',
4 => 'Deleted',
];
}
I played around with the config and used default: 0
or default: 'Not Validated'
as mentioned in the doc
https://docs.octobercms.com/3.x/element/filter/scope-group.html
But nothing really worked. What's my mistake here or what am I overlooking? Thx for the help!
Last updated
Hello and welcome, please try the following:
state:
label: 'mch.heads::lang.terms.status'
default:
- 0
1-4 of 4