diff options
| author | 2014-11-08 09:26:01 -0500 | |
|---|---|---|
| committer | 2014-11-08 09:26:01 -0500 | |
| commit | 38cf7a109ee80cc03edfd420b641676ecd1dfae6 (patch) | |
| tree | df515ad723d4905aeaa49374c260da9ae06feb53 /app/Controllers/statsController.php | |
| parent | 0b7af8f8719f698b67e31b5a84fa19b0f20c0590 (diff) | |
Add more info in article repartition page
I added the same information than on the main stat page (total, read, unread and favorite) on the repartition page. Some refactoring was needed.
Diffstat (limited to 'app/Controllers/statsController.php')
| -rw-r--r-- | app/Controllers/statsController.php | 1 |
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); |
