mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-27 21:48:40 -04:00
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.
This commit is contained in:
1 parent
0b7af8f871
commit
38cf7a109e
3 files changed
+44
-22
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user