summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-06-08 09:35:47 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-08-17 14:52:38 +0200
commit5d95b196f7993398d68ad67179eb2d2b2ce1b0f1 (patch)
tree2205f524a9802206b21d9709e22767ada416bbd9
parenta3917de4fd1ce28e319f8642050e6283ead2bc4e (diff)
issue124, also if rate-sort is set to DESC, 2nd-sort by photo-name should be ASC
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--phpfspot.class.php2
1 files changed, 1 insertions, 1 deletions
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;
}