mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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
This commit is contained in:
+1
-1
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user