diff options
| author | 2014-07-22 13:41:31 +0200 | |
|---|---|---|
| committer | 2014-07-22 13:41:31 +0200 | |
| commit | 937cb4b066f07888dabe8400b71be6633a19a1d6 (patch) | |
| tree | 1b884165672228df8ab66cd6da6d174a5e9b49c3 /app/Models/StatsDAO.php | |
| parent | dfe4597f3b3fd9d1337070e123b8265e5af23538 (diff) | |
Idle feeds: link to configuration page
https://github.com/marienfressinaud/FreshRSS/issues/544
Diffstat (limited to 'app/Models/StatsDAO.php')
| -rw-r--r-- | app/Models/StatsDAO.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Models/StatsDAO.php b/app/Models/StatsDAO.php index 66f5104b3..9a88a4fcf 100644 --- a/app/Models/StatsDAO.php +++ b/app/Models/StatsDAO.php @@ -170,7 +170,8 @@ SQL; */ public function calculateFeedLastDate() { $sql = <<<SQL -SELECT MAX(f.name) AS name +SELECT MAX(f.id) as id +, MAX(f.name) AS name , MAX(date) AS last_date FROM {$this->prefix}feed AS f, {$this->prefix}entry AS e |
