The format of the options is right and they get displayed correctly with the groups, butwhen i select an entry, I get this error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'trends' in 'where clause'SELECT count(*) AS aggregateFROM `news`WHERE (`trends` = 1)
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'trends' in 'where clause'SELECT count(*) AS aggregateFROM `news`WHERE (`trends` = 1)
How can I configure the select so its checking the relation. When I use ->relation() it takes the options from the relation and not from the customized option array. Thanks.