From 5d95b196f7993398d68ad67179eb2d2b2ce1b0f1 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 8 Jun 2008 09:35:47 +0200 Subject: issue124, also if rate-sort is set to DESC, 2nd-sort by photo-name should be ASC Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-18-g5258