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?p=phpfspot.git;a=commitdiff_plain;h=528046b591693d8bfa7fd2c042edb7800a191099 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 39bace3..d39356a 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -2748,7 +2748,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; }