Standardize to uppercase DESC in the order by method calls

This commit is contained in:
Tim Almdal
2009-02-22 17:36:58 +00:00
parent d61691fd95
commit 95fc61c9a8
4 changed files with 6 additions and 6 deletions

View File

@@ -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()) {