diff options
| author | 2016-09-27 23:35:39 +0200 | |
|---|---|---|
| committer | 2016-09-27 23:35:39 +0200 | |
| commit | dbc68590da1d95c249f780e2d3ff4707f6f504e9 (patch) | |
| tree | 6dac2afd76362d434f6c763d97cc32b94e9b81f8 /app/Models/StatsDAOSQLite.php | |
| parent | 90164df068783f32fee9ca445c99b340004a13c7 (diff) | |
A bit more PostgreSQL
Simplified statistics https://github.com/FreshRSS/FreshRSS/pull/1250
Diffstat (limited to 'app/Models/StatsDAOSQLite.php')
| -rw-r--r-- | app/Models/StatsDAOSQLite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/StatsDAOSQLite.php b/app/Models/StatsDAOSQLite.php index e09d18c77..ec0cfa81a 100644 --- a/app/Models/StatsDAOSQLite.php +++ b/app/Models/StatsDAOSQLite.php @@ -11,7 +11,7 @@ class FreshRSS_StatsDAOSQLite extends FreshRSS_StatsDAO { $sql = <<<SQL SELECT strftime('{$period}', e.date, 'unixepoch') AS period , COUNT(1) AS count -FROM {$this->prefix}entry AS e +FROM `{$this->prefix}entry` AS e {$restrict} GROUP BY period ORDER BY period ASC |
