From 528046b591693d8bfa7fd2c042edb7800a191099 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 8 Jun 2008 09:35:47 +0200 Subject: [PATCH] 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 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; } -- 2.25.1