Filtering Express object with multiple terms not working as expected?

If I have a page list and I do e.g. $pages->filterByCollectionTypeHandle(['articlepage', 'newspage']); then the list will contain pages of both those types.

If I have an Express list and I do e.g. $list->filterByConsultantOffice($_POST['office-filter']); where $_POST['office-filter'] is ['London', 'Birmingham'], say, then I only get London offices in the results which isn't the expected behaviour.

Express list is retrieved using $list = Express::getObjectByHandle('consultant');

Am I missing something?

View Replies: