Minor report updates

This commit is contained in:
Romain Neutron
2013-09-18 12:07:07 +02:00
parent ff1da1d734
commit 756f6095a7
2 changed files with 5 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ class module_report_dashboard implements module_report_dashboard_componentInterf
* @desc la periode par defaut d'affichage du dashboard
* @var <string>
*/
public $periode = '-1 month';
public $periode = '-5 days';
/**
* @desc le sbasid de la base ou on effectue le report
@@ -168,7 +168,7 @@ class module_report_dashboard implements module_report_dashboard_componentInterf
{
return $this->dashboard;
}
/**
* @desc construct the legend for charts
* if dmax === false dmax = now();
@@ -276,7 +276,7 @@ class module_report_dashboard implements module_report_dashboard_componentInterf
$listeColl[] = (int) $value['coll_id'];
}
$this->authorizedCollection[] = array(
$this->authorizedCollection[(int) $sbas] = array(
'sbas_id' => (int) $sbas,
'coll' => implode(',', $listeColl),
'name' => phrasea::sbas_labels($sbas, $this->app)