Hi, My reporting are caching I think which is ok if data doesn't change, but at this time of the year, data is changing every hour, so is there an option to 'force refresh' the report from the browser, so report will refresh the data ?
Here is the call to my report:
$report = new PlannerGoals();
$report->run();
return view("report",["report"=>$report]);
Here is the view:
Table::create(array(
"dataSource" => $this->dataStore("PlannerGoalsFile"),
"searching"=>true,
"fixedHeader"=>true,
"showHeader"=>true,
"showFooter"=>"bottom",
"columns" => array(
"name",
... columns
here is the report class:
$this->src('mysql')->query($PlannerGoalsFileQuery)
->pipe(new CalculatedColumn(array(
"TotalEst"=>function($data){
return ( $data["ETPlannerEst"]+$data["ETQuoterEst"]);
},
)))
->pipe($this->dataStore('PlannerGoalsFile'));
Note: I am using
use Friendship;
use \koolreport\amazing\Theme;
I have not added any cache feature intentionally. thanks