From: Andreas Unterkircher Date: Sun, 8 Jun 2008 07:35:47 +0000 (+0200) Subject: issue124, also if rate-sort is set to DESC, 2nd-sort by photo-name should be ASC X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d95b196f7993398d68ad67179eb2d2b2ce1b0f1;p=phpfspot.git issue124, also if rate-sort is set to DESC, 2nd-sort by photo-name should be ASC Signed-off-by: Andreas Unterkircher --- diff --git a/phpfspot.class.php b/phpfspot.class.php index ee521c6..d7a76c3 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -2749,7 +2749,7 @@ class PHPFSPOT { return " ORDER BY p.rating ASC, t.name ASC"; break; case 'rate_desc': - return " ORDER BY p.rating DESC, t.name DESC"; + return " ORDER BY p.rating DESC, t.name ASC"; break; }