From: Brion Vibber Date: Mon, 9 Aug 2004 04:31:05 +0000 (+0000) Subject: For unknown sort to bydate X-Git-Tag: 1.5.0alpha1~2456 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=395598e84bbadb797c5c779793a51ea36e294f55;p=lhc%2Fweb%2Fwiklou.git For unknown sort to bydate --- 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; }