Hi,
I have the following service setup
$model = ee('Model')->get('ChannelEntry')->filter('channel_id', 5);
$model->with('Categories');
$model->filter('Categories.cat_id', 5)->filter('Categories.cat_id', 6);
this gives me zero results. Doing it with an orFilter()
then it works. Is it possible to do an AND against multiple category IDs?
let me know.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.