Skip to content

Commit

Permalink
Use buildViewCmd for exports, too
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbobmcgee authored Mar 19, 2021
1 parent 2181e33 commit 805d021
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions share/pnp/application/models/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -1024,8 +1024,7 @@ public function getPageDetails($page){
public function buildXport($host,$service){
// FIXME add max rows to config
$this->XPORT = " -m 2000";
$this->XPORT .= " --start=".$this->TIMERANGE['start'];
$this->XPORT .= " --end=".$this->TIMERANGE['end'];
$this->XPORT .= $this->buildViewCmd(FALSE, $this->TIMERANGE['start'], $this->TIMERANGE['end']);
$this->readXML($host,$service);
$count = 0;
$RRAs = array('MIN','MAX','AVERAGE');
Expand Down

0 comments on commit 805d021

Please sign in to comment.