mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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);
|
$tags_names[$id_tag] = tags_get_name($id_tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($tags[0] === $id_tag) {
|
||||||
$_tmp .= ' AND ( ';
|
$_tmp .= ' AND ( ';
|
||||||
|
} else {
|
||||||
|
$_tmp .= ' OR ( ';
|
||||||
|
}
|
||||||
|
|
||||||
$_tmp .= sprintf(
|
$_tmp .= sprintf(
|
||||||
' tags LIKE "%s" OR',
|
' tags LIKE "%s" OR',
|
||||||
$tags_names[$id_tag]
|
$tags_names[$id_tag]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user