Jump to content

Set search to bring content ONLY with multiple tags?

Featured Replies

Posted

How can search be set to bring back content ONLY with multiple tags?

By this I mean, lets say I have 50 images tagged "Italian food" and 25 images tagged "american food". Of those, 3 are tagged "Italian food" AND "american food".

When searching, what settings do I need to update so search brings back those 3 tagged "Italian food" AND "american food" rather than bringing back all the images tagged with just one of those two tags (in this case it would be a total of 72 results)?

currently tags are defined into where clause with "IN" operator

//system/Content/Search/Mysql/Query.php:865
$tagWhere = array( $itemsOnlyTagSearch . \IPS\Db::i()->in( 'index_item_index_id', $tagIds ) );

I think this issue should be exposed into feedback forum for improve search filtering for future release

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.