aboutsummaryrefslogtreecommitdiffstats
path: root/admin/stats.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-21 17:44:30 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-21 17:44:30 +0000
commitcb69a06f53b89d1b05d99794860cbe89965ab361 (patch)
tree735d072f341d0497be4cf486af772c974fa37a12 /admin/stats.php
parent3fef5cab7e78892d25c4754f52dfe51059b3352e (diff)
Everything is shown in descending order : most recent are at the top
git-svn-id: http://piwigo.org/svn/trunk@152 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/stats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/stats.php b/admin/stats.php
index 6561a9eb9..0de4579e2 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -124,7 +124,7 @@ for ( $i = 0; $i <= MAX_DAYS; $i++ )
$query.= ' FROM '.PREFIX_TABLE.'history';
$query.= ' WHERE date > '.$starttime;
$query.= ' AND date < '.$endtime;
- $query.= ' ORDER BY date ASC';
+ $query.= ' ORDER BY date DESC';
$query.= ';';
$result = mysql_query( $query );
$nb_pages_seen = mysql_num_rows( $result );