Hello
yes now it is a logical "OR"
ok , since this is small change
and since these days we were enhancing 2 other SCOPEs
very useful SCOPEs of universal module
(date ... and (new) Dynamic custom field scope that compare any field to the currently view item)
-
i will add a new parameter for a logical "AND"
new final version is coming in 10-15 , (it is ready now but beta)
but note this will make query SLOWER !!
how much, not sure !
- parameter will state that it is slower
to test it now, edit helper.php of the module and
replace
Code:
$query2 = 'SELECT DISTINCT itemid'
. ' FROM #__flexicontent_tags_item_relations'
. ' WHERE tid IN ('.implode(',', $tag_ids).')'
;
with:
Code:
$query2 = 'SELECT itemid'
. ' FROM #__flexicontent_tags_item_relations'
. ' WHERE tid IN ('.implode(',', $tag_ids).')'
. ' GROUP BY itemid HAVING COUNT(*) >= '.count($tag_ids)
;
after you install final remember to enable new parameter
Regards