| Q |
A |
| Bug? |
Yes |
| New Feature? |
no |
| SuluArticleBundle Version |
2.6.1 |
If you want to filter articles by person, the result is always empty.
I think the problem is related to the used MatchQuery at ArticleController.php#L296.
Shouldn't this be like this?
$contactIds = explode(',', $filter['contactId']);
$boolQuery = new BoolQuery();
$boolQuery->add(new TermsQuery('changer_contact_id', $contactIds), BoolQuery::SHOULD);
$boolQuery->add(new TermsQuery('creator_contact_id', $contactIds), BoolQuery::SHOULD);
$boolQuery->add(new TermsQuery('author_id', $contactIds), BoolQuery::SHOULD);