From 8ba9480819e55b29c3f9ccca786ec690e911ae6c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 10 May 2009 19:00:28 +0000 Subject: Disable default sorting for performance. (thanks Romain LE DISEZ) --- core/models/item.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/models') diff --git a/core/models/item.php b/core/models/item.php index f8a710e4..ce48c4d4 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -21,6 +21,7 @@ class Item_Model extends ORM_MPTT { protected $children = 'items'; private $relative_path = null; private $view_restrictions = null; + protected $sorting = array(); var $rules = array( "name" => "required|length[0,255]", -- cgit v1.2.3