mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
2012-01-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Improved the get all agents API function to retrieve more data as address, description, operating system and url address git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
3a9bac249a
commit
a06107f235
@ -1,3 +1,9 @@
|
|||||||
|
2012-01-26 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* include/functions_api.php: Improved the get all agents
|
||||||
|
API function to retrieve more data as address, description,
|
||||||
|
operating system and url address
|
||||||
|
|
||||||
2012-01-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2012-01-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* include/functions_reporting.php: Fixed Sla graph when it has
|
* include/functions_reporting.php: Fixed Sla graph when it has
|
||||||
|
@ -807,7 +807,7 @@ function get_all_agents($thrash1, $thrash2, $other, $thrash3) {
|
|||||||
// Initialization of array
|
// Initialization of array
|
||||||
$result_agents = array();
|
$result_agents = array();
|
||||||
// Filter by state
|
// Filter by state
|
||||||
$sql = "SELECT id_agente, nombre FROM tagente WHERE disabled = 0 " . $where;
|
$sql = "SELECT id_agente, nombre, direccion, comentarios, tconfig_os.name, url_address FROM tagente, tconfig_os WHERE tagente.id_os = tconfig_os.id_os AND disabled = 0 " . $where;
|
||||||
|
|
||||||
$all_agents = db_get_all_rows_sql($sql);
|
$all_agents = db_get_all_rows_sql($sql);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user