aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/statsController.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2014-11-08 09:34:59 -0500
committerGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2014-11-08 09:34:59 -0500
commit76fbc8c719b9d048f572c6c865c309d1e25b40f9 (patch)
tree3790513d3f5fe3b4a49c8c8b5bf282fff8a556af /app/Controllers/statsController.php
parent0b7af8f8719f698b67e31b5a84fa19b0f20c0590 (diff)
parent960abfcc6558d8421423a42b7781184dad0d9bc7 (diff)
Merge pull request #701 from FreshRSS/stats
Add more info in article repartition page
Diffstat (limited to 'app/Controllers/statsController.php')
-rw-r--r--app/Controllers/statsController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/statsController.php b/app/Controllers/statsController.php
index 18fbca6df..578df9434 100644
--- a/app/Controllers/statsController.php
+++ b/app/Controllers/statsController.php
@@ -117,6 +117,7 @@ class FreshRSS_stats_Controller extends Minz_ActionController {
$this->view->feed = $feedDAO->searchById($id);
$this->view->days = $statsDAO->getDays();
$this->view->months = $statsDAO->getMonths();
+ $this->view->repartition = $statsDAO->calculateEntryRepartitionPerFeed($id);
$this->view->repartitionHour = $statsDAO->calculateEntryRepartitionPerFeedPerHour($id);
$this->view->averageHour = $statsDAO->calculateEntryAveragePerFeedPerHour($id);
$this->view->repartitionDayOfWeek = $statsDAO->calculateEntryRepartitionPerFeedPerDayOfWeek($id);