aboutsummaryrefslogtreecommitdiff
path: root/app/Models/StatsDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-22 13:41:31 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-22 13:41:31 +0200
commit937cb4b066f07888dabe8400b71be6633a19a1d6 (patch)
tree1b884165672228df8ab66cd6da6d174a5e9b49c3 /app/Models/StatsDAO.php
parentdfe4597f3b3fd9d1337070e123b8265e5af23538 (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.php3
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