diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-22 17:36:58 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-22 17:36:58 +0000 |
commit | 95fc61c9a8495e9fd4e1ea5e4fd3426886c70f0b (patch) | |
tree | c554f47a24f1a23b3b13f4b15476dc7523491357 /modules/comment/controllers/comments.php | |
parent | d61691fd95eca1246d36b5e36d7696369301a8b5 (diff) |
Standardize to uppercase DESC in the order by method calls
Diffstat (limited to 'modules/comment/controllers/comments.php')
-rw-r--r-- | modules/comment/controllers/comments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php index b4d7d24a..e3b75c56 100644 --- a/modules/comment/controllers/comments.php +++ b/modules/comment/controllers/comments.php @@ -31,7 +31,7 @@ class Comments_Controller extends REST_Controller { $comments = ORM::factory("comment") ->where("item_id", $item->id) ->where("state", "published") - ->orderby("created", "desc") + ->orderby("created", "DESC") ->find_all(); switch (rest::output_format()) { |