mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
Removed broken Page Number display support.
For mysql and mongodb, page number calculation needs to be rewritten.
This commit is contained in:
parent
e1d07a21ba
commit
c6de4a4f63
@ -58,7 +58,7 @@ class LogStreamDB extends LogStream {
|
||||
private $_previousPageUID = -1;
|
||||
private $_lastPageUID = -1;
|
||||
private $_firstPageUID = -1;
|
||||
private $_currentPageNumber = 0;
|
||||
private $_currentPageNumber = -1;
|
||||
|
||||
private $_SQLwhereClause = "";
|
||||
private $_myDBQuery = null;
|
||||
@ -106,7 +106,7 @@ class LogStreamDB extends LogStream {
|
||||
return $res;
|
||||
|
||||
// Success, this means we init the Pagenumber to ONE!
|
||||
$this->_currentPageNumber = 1;
|
||||
// $this->_currentPageNumber = 1;
|
||||
|
||||
// reached this point means success!
|
||||
return SUCCESS;
|
||||
|
@ -56,7 +56,7 @@ class LogStreamMongoDB extends LogStream {
|
||||
private $_previousPageUID = -1;
|
||||
private $_lastPageUID = -1;
|
||||
private $_firstPageUID = -1;
|
||||
private $_currentPageNumber = 0;
|
||||
private $_currentPageNumber = -1;
|
||||
|
||||
private $_SQLwhereClause = "";
|
||||
private $_myDBQuery = null;
|
||||
@ -113,7 +113,7 @@ class LogStreamMongoDB extends LogStream {
|
||||
// return $res;
|
||||
|
||||
// Success, this means we init the Pagenumber to ONE!
|
||||
$this->_currentPageNumber = 1;
|
||||
// $this->_currentPageNumber = 1;
|
||||
|
||||
// reached this point means success!
|
||||
return SUCCESS;
|
||||
|
@ -316,7 +316,7 @@ if ( isset($content['Sources'][$currentSourceID]) )
|
||||
$content['main_recordcount_found'] = false;
|
||||
|
||||
$content['main_currentpagenumber'] = $stream->GetCurrentPageNumber();
|
||||
if ( $content['main_currentpagenumber'] >= 0 )
|
||||
if ( $content['main_currentpagenumber'] > 0 )
|
||||
$content['main_currentpagenumber_found'] = true;
|
||||
else
|
||||
$content['main_currentpagenumber_found'] = false;
|
||||
|
@ -435,7 +435,7 @@ function CreateMenuFunction ( szbuttonobjid, szmenuobjid, bHide )
|
||||
{
|
||||
// Popup Menu Code
|
||||
var menu = $("ul" + szmenuobjid).menu();
|
||||
|
||||
|
||||
if (bHide) {
|
||||
// Hide
|
||||
menu.hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user