feature 2486: Add an admin view for rates by user

git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2011-11-14 20:10:37 +00:00
parent f59e5bf46a
commit 2f87684e09
6 changed files with 346 additions and 4 deletions
+1 -3
View File
@@ -215,9 +215,7 @@ SELECT DISTINCT('.$this->calendar_levels[$level]['sql'].') as period,
COUNT(DISTINCT id) as nb_images'.
$this->inner_sql.
$this->get_date_where($level).'
GROUP BY period
ORDER BY period ASC
;';
GROUP BY period;';
$level_items = simple_hash_from_query($query, 'period', 'nb_images');