Merge branch 'ent-7532-11853-Cambio-comportamiento-tags-en-Widget-de-eventos-en-dashboards' into 'develop'
Ent 7532 11853 cambio comportamiento tags en widget de eventos en dashboards See merge request artica/pandorafms!4233
This commit is contained in:
commit
66ebc14dca
|
@ -1151,7 +1151,12 @@ function events_get_all(
|
|||
$tags_names[$id_tag] = tags_get_name($id_tag);
|
||||
}
|
||||
|
||||
$_tmp .= ' AND ( ';
|
||||
if ($tags[0] === $id_tag) {
|
||||
$_tmp .= ' AND ( ';
|
||||
} else {
|
||||
$_tmp .= ' OR ( ';
|
||||
}
|
||||
|
||||
$_tmp .= sprintf(
|
||||
' tags LIKE "%s" OR',
|
||||
$tags_names[$id_tag]
|
||||
|
|
Loading…
Reference in New Issue