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>
|
||||
|
||||
* 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);
|
||||
|
||||
// No traps
|
||||
|
@ -175,7 +175,7 @@ $whereSubquery = 'WHERE 1=1';
|
|||
$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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue