From 395598e84bbadb797c5c779793a51ea36e294f55 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 9 Aug 2004 04:31:05 +0000 Subject: [PATCH] For unknown sort to bydate --- includes/SpecialImagelist.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/SpecialImagelist.php b/includes/SpecialImagelist.php index c5f7115a22..f27f9c7a5c 100644 --- a/includes/SpecialImagelist.php +++ b/includes/SpecialImagelist.php @@ -31,6 +31,7 @@ function wfSpecialImagelist() $sql .= " ORDER BY img_name"; $st = $byname; } else { + $sort = "bydate"; $sql .= " ORDER BY img_timestamp DESC"; $st = $bydate; } -- 2.20.1