diff options
| author | 2014-08-19 21:48:02 +0200 | |
|---|---|---|
| committer | 2014-08-19 21:48:02 +0200 | |
| commit | 557e3723309301ede8afad3e0433a94317efc869 (patch) | |
| tree | 623a9d6bfde0b8793c0341cde96cf1ece99915b6 /app/Controllers/statsController.php | |
| parent | 0d0b8cd39b8de765aa351a2e66fff850bdcb2000 (diff) | |
| parent | 393fce3e8aaef1b00ab34bf35b7e8b329a5e3dc5 (diff) | |
Merge pull request #581 from aledeg/more-stats
Add a feed selector in repartition statistics.
Diffstat (limited to 'app/Controllers/statsController.php')
| -rw-r--r-- | app/Controllers/statsController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controllers/statsController.php b/app/Controllers/statsController.php index 06a20c2a6..934b076a5 100644 --- a/app/Controllers/statsController.php +++ b/app/Controllers/statsController.php @@ -58,9 +58,11 @@ class FreshRSS_stats_Controller extends Minz_ActionController { public function repartitionAction() { $statsDAO = FreshRSS_Factory::createStatsDAO(); + $categoryDAO = new FreshRSS_CategoryDAO(); $feedDAO = FreshRSS_Factory::createFeedDao(); Minz_View::appendScript(Minz_Url::display('/scripts/flotr2.min.js?' . @filemtime(PUBLIC_PATH . '/scripts/flotr2.min.js'))); $id = Minz_Request::param ('id', null); + $this->view->categories = $categoryDAO->listCategories (); $this->view->feed = $feedDAO->searchById($id); $this->view->days = $statsDAO->getDays(); $this->view->months = $statsDAO->getMonths(); |
