diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-06-08 09:35:47 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-06-08 09:35:47 +0200 |
commit | 528046b591693d8bfa7fd2c042edb7800a191099 (patch) | |
tree | ac86e6f72f3404275c3616634c832647aaf79ad3 | |
parent | ae5f579916f6395a466e9e134eafd7d3da66fae9 (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.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |