Fixed search by tags in event list
This commit is contained in:
parent
285e63d2a7
commit
b0b51c649b
|
@ -240,9 +240,9 @@ if (!empty($tag_with)) {
|
||||||
$sql_post .= " OR ";
|
$sql_post .= " OR ";
|
||||||
$sql_post .= "tags LIKE '" . tags_get_name($id_tag) . ",%'";
|
$sql_post .= "tags LIKE '" . tags_get_name($id_tag) . ",%'";
|
||||||
$sql_post .= " OR ";
|
$sql_post .= " OR ";
|
||||||
$sql_post .= "tags LIKE '%, " . tags_get_name($id_tag) . "'";
|
$sql_post .= "tags LIKE '%," . tags_get_name($id_tag) . "'";
|
||||||
$sql_post .= " OR ";
|
$sql_post .= " OR ";
|
||||||
$sql_post .= "tags LIKE '%, " . tags_get_name($id_tag) . ",%'";
|
$sql_post .= "tags LIKE '%," . tags_get_name($id_tag) . ",%'";
|
||||||
}
|
}
|
||||||
$sql_post .= ' ) ';
|
$sql_post .= ' ) ';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue