mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-23 05:45:59 +02:00
2010-08-13 Sergio Martin <sergio.martin@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed the pagination block filter in the SNMP console git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
843e5176fe
commit
635b627ca0
@ -1,3 +1,8 @@
|
|||||||
|
2010-08-13 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* operation/snmpconsole/snmp_view.php: Fixed the pagination
|
||||||
|
block filter in the SNMP console
|
||||||
|
|
||||||
2010-08-13 Sergio Martin <sergio.martin@artica.es>
|
2010-08-13 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* extensions/agents_modules.php: Aligned vertically the modules
|
* extensions/agents_modules.php: Aligned vertically the modules
|
||||||
|
@ -109,7 +109,7 @@ if (isset ($_POST["updatebt"])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = sprintf ("SELECT * FROM ttrap ORDER BY timestamp DESC LIMIT %d,%d",$offset,$config['block_size']);
|
$sql = sprintf ("SELECT * FROM ttrap ORDER BY timestamp DESC LIMIT %d,%d",$offset,$pagination);
|
||||||
$traps = get_db_all_rows_sql ($sql);
|
$traps = get_db_all_rows_sql ($sql);
|
||||||
|
|
||||||
// No traps
|
// No traps
|
||||||
@ -175,7 +175,7 @@ $whereSubquery = 'WHERE 1=1';
|
|||||||
$whereSubquery .= ' AND status = ' . $filter_status;
|
$whereSubquery .= ' AND status = ' . $filter_status;
|
||||||
|
|
||||||
|
|
||||||
$sql = sprintf($sql, $whereSubquery, $offset, $config['block_size']);
|
$sql = sprintf($sql, $whereSubquery, $offset, $pagination);
|
||||||
|
|
||||||
$traps = get_db_all_rows_sql($sql);
|
$traps = get_db_all_rows_sql($sql);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user