From 95fc61c9a8495e9fd4e1ea5e4fd3426886c70f0b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 22 Feb 2009 17:36:58 +0000 Subject: Standardize to uppercase DESC in the order by method calls --- modules/comment/controllers/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/controllers') 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()) { -- cgit v1.2.3