From aa87a2583b10dfcd7cd2b0e5bbdd717122778c3f Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 21 Nov 2011 20:48:37 +0000 Subject: feature 2486 merge from trunk -r12624,12625,12650 Add an admin view for rates by user (improvement) git-svn-id: http://piwigo.org/svn/branches/2.3@12651 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/calendar_base.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/calendar_base.class.php') diff --git a/include/calendar_base.class.php b/include/calendar_base.class.php index a64e20fe9..15f20f7f3 100644 --- a/include/calendar_base.class.php +++ b/include/calendar_base.class.php @@ -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'); -- cgit v1.2.3