aboutsummaryrefslogtreecommitdiffstats
path: root/include/calendar_base.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-11-14 20:10:37 +0000
committerrvelices <rv-github@modusoptimus.com>2011-11-14 20:10:37 +0000
commit2f87684e097c087b18b6630878e5545c5c37699e (patch)
tree3745a7076294bec0b339cbe5769ed9a99b95262f /include/calendar_base.class.php
parentf59e5bf46ab8de2e54538bd43e85b33b68cc7a18 (diff)
feature 2486: Add an admin view for rates by user
git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/calendar_base.class.php')
-rw-r--r--include/calendar_base.class.php4
1 files changed, 1 insertions, 3 deletions
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');