From 35ac6214969154e27eecbd7b9ee92c45680a071d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 5 Aug 2013 22:05:40 +0200 Subject: Invert sorting order on thumbnail history Newest first to match the normal history's default. Signed-off-by: Florian Pritz --- application/controllers/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/controllers/file.php') diff --git a/application/controllers/file.php b/application/controllers/file.php index 78ecd5096..c133539f7 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -419,7 +419,7 @@ class File extends CI_Controller { FROM files WHERE user = ? AND mimetype IN ('image/jpeg', 'image/png', 'image/gif') - ORDER BY date ASC + ORDER BY date DESC ", array($user))->result_array(); foreach($query as $key => $item) { -- cgit v1.2.3-24-g4f1b