2014-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/status_monitor.php: Fixed tag combo, now only shows user tags not all. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d173db149e
commit
e99a72eb8f
|
@ -1,3 +1,8 @@
|
|||
2014-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* operation/agentes/status_monitor.php: Fixed tag combo,
|
||||
now only shows user tags not all.
|
||||
|
||||
2014-02-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/functions_tags.php: Fixed several bugs with
|
||||
|
|
|
@ -300,12 +300,21 @@ if (defined('METACONSOLE')) {
|
|||
// Get all info for filters of all nodes
|
||||
$modules_temp = db_get_all_rows_sql($sql);
|
||||
|
||||
$tags_temp = db_get_all_rows_sql('
|
||||
SELECT name, name
|
||||
FROM ttag
|
||||
WHERE id_tag IN (SELECT ttag_module.id_tag
|
||||
FROM ttag_module)');
|
||||
# Fix : only user tags have to be shown in these component
|
||||
$_tags = tags_get_user_tags();
|
||||
|
||||
|
||||
if (!empty($_tags)) {
|
||||
|
||||
foreach ($_tags as $_tag) {
|
||||
|
||||
$tags_temp[]['name'] = $_tag;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
$rows_temp = db_get_all_rows_sql("SELECT distinct name
|
||||
FROM tmodule_group
|
||||
ORDER BY name");
|
||||
|
|
Loading…
Reference in New Issue