2009-05-11 Evi Vanoost <vanooste@rcbi.rochester.edu>

* operation/agentes/estado_agente.php: Fixed limits (again)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
guruevi 2009-05-11 13:32:45 +00:00
parent 5f5dafe975
commit 5c2cc0b979
2 changed files with 3 additions and 14 deletions

View File

@ -1,17 +1,6 @@
2009-05-11 Esteban Sánchez <estebans@artica.es> 2009-05-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/agent_manager.php: Show "None" if no server is assigned. * operation/agentes/estado_agente.php: Fixed limits (again)
Fixes #2768723
* godmode/agentes/configurar_agente.php: Removed direct link to
farscap.artica.es server. Fixed group tab selection.
* godmode/alerts/alert_list.php: Fixed a notice when there are no agents.
Fixes #2786519.
* general/header.php: Fixed an error when updating agent configuration
which was showing all the config in the header. Should be improved for
other textarea fields.
2009-05-07 Esteban Sánchez <estebans@artica.es> 2009-05-07 Esteban Sánchez <estebans@artica.es>

View File

@ -93,7 +93,7 @@ if ($group_id > 1) {
if (!empty ($agent_names)) { if (!empty ($agent_names)) {
$num_agents = get_db_sql (sprintf ("SELECT COUNT(*) FROM tagente WHERE id_agente IN (%s)", implode (",", array_keys ($agent_names)))); $num_agents = get_db_sql (sprintf ("SELECT COUNT(*) FROM tagente WHERE id_agente IN (%s)", implode (",", array_keys ($agent_names))));
$agents = get_db_all_rows_sql (sprintf ("SELECT * FROM tagente WHERE id_agente IN (%s) ORDER BY nombre ASC LIMIT %d,%d", implode (",", array_keys ($agent_names)))); $agents = get_db_all_rows_sql (sprintf ("SELECT * FROM tagente WHERE id_agente IN (%s) ORDER BY nombre ASC LIMIT %d,%d", implode (",", array_keys ($agent_names)), (int) get_parameter ("offset"), $config["block_size"]));
} }
if (empty ($agents)) { if (empty ($agents)) {