ORM::orderby -> ORM::order_by

This commit is contained in:
Bharat Mediratta
2009-11-25 19:26:52 -08:00
parent 0ef6994f23
commit 0121bfd585
17 changed files with 40 additions and 40 deletions

View File

@@ -48,7 +48,7 @@ class Admin_Comments_Controller extends Admin_Controller {
$view->content->menu = $this->_menu($view->content->counts);
$view->content->state = $state;
$view->content->comments = ORM::factory("comment")
->orderby("created", "DESC")
->order_by("created", "DESC")
->where("state", $state)
->limit(self::$items_per_page, ($page - 1) * self::$items_per_page)
->find_all();