issue124, also if rate-sort is set to DESC, 2nd-sort by photo-name should be ASC
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 8 Jun 2008 07:35:47 +0000 (09:35 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 8 Jun 2008 07:35:47 +0000 (09:35 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php

index 39bace3..d39356a 100644 (file)
@@ -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;
       }