Fix Timeline view, add list link
This commit is contained in:
parent
539172b769
commit
11629076f6
|
@ -366,7 +366,7 @@ function parseTreeToFilter( $tree )
|
|||
$level = 0;
|
||||
_parseTreeToFilter( $tree, $terms, $level );
|
||||
}
|
||||
return( array( 'terms' => $terms ) );
|
||||
return( array( 'Query' => array( 'terms' => $terms ) ) );
|
||||
}
|
||||
|
||||
function parseTreeToQuery( $tree )
|
||||
|
|
|
@ -151,5 +151,5 @@ function tlZoomRange( midTime, range ) {
|
|||
}
|
||||
|
||||
function tlPan( midTime, range ) {
|
||||
location('?view='+currentView+filterQuery+'&midTime='+midTime+'&range='+range);
|
||||
location.replace('?view='+currentView+filterQuery+'&midTime='+midTime+'&range='+range);
|
||||
}
|
||||
|
|
|
@ -708,6 +708,7 @@ xhtmlHeaders(__FILE__, translate('Timeline') );
|
|||
</div>
|
||||
<div id="headerButtons">
|
||||
<a href="#" onclick="window.history.back();"><?php echo translate('Back') ?></a>
|
||||
<a href="?view=events&page=1<?php echo htmlspecialchars($filterQuery) ?>"><?php echo translate('List') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content" class="chartSize">
|
||||
|
|
Loading…
Reference in New Issue