aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-01-17 23:08:41 +0000
committervdigital <vdigital@piwigo.org>2007-01-17 23:08:41 +0000
commite81260cdec75e196feed698a05cad88236d3ed42 (patch)
tree4ed44f2f56e00420e8b6884e90cc768e45b397c8 /admin
parent8e43a0fec128ad379bcdf432ddb034db66097c7e (diff)
Issue 0000622: Optional light slideshow
(Active by default - Switch off by $conf['light_slideshow'] = false) Order by in admin/comments.php git-svn-id: http://piwigo.org/svn/trunk@1730 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/comments.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/comments.php b/admin/comments.php
index 1371f72f2..1ca8fc617 100644
--- a/admin/comments.php
+++ b/admin/comments.php
@@ -139,6 +139,7 @@ SELECT c.id, c.image_id, c.date, c.author, c.content, i.path, i.tn_ext
INNER JOIN '.IMAGES_TABLE.' AS i
ON i.id = c.image_id
WHERE validated = \'false\'
+ ORDER BY c.date DESC
;';
$result = pwg_query($query);
while ($row = mysql_fetch_assoc($result))
@@ -179,4 +180,4 @@ $template->assign_vars(
$template->assign_var_from_handle('ADMIN_CONTENT', 'comments');
-?> \ No newline at end of file
+?>