diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-06-07 17:25:41 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-06-07 17:25:41 +0200 |
commit | 3d5877ab7f5b9cf885b74bbb881115050f8d5ed8 (patch) | |
tree | df198c2f6606d4f82ac217767db5ac9d361fc971 /phpfspot.class.php | |
parent | 2f28815e3e4924839670dd34e2b4027c60b5bb34 (diff) | |
parent | 903d4a4d67af041d623f128de85693b0ae7dbfb2 (diff) |
Merge branch 'issue124'
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r-- | phpfspot.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 2b5e180..ae58790 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -122,7 +122,7 @@ class PHPFSPOT { /* set application name and version information */ $this->cfg->product = "phpfspot"; - $this->cfg->version = "1.5"; + $this->cfg->version = "1.6"; $this->sort_orders= array( 'date_asc' => 'Date ↑', @@ -2722,10 +2722,10 @@ class PHPFSPOT { return " ORDER BY t.name DESC ,p.time ASC"; break; case 'rate_asc': - return " ORDER BY t.name ASC, p.rating ASC"; + return " ORDER BY p.rating ASC, t.name ASC"; break; case 'rate_desc': - return " ORDER BY t.name DESC, p.rating DESC"; + return " ORDER BY p.rating DESC, t.name DESC"; break; } |