summaryrefslogtreecommitdiff
path: root/core/models
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-10 19:00:28 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-10 19:00:28 +0000
commit8ba9480819e55b29c3f9ccca786ec690e911ae6c (patch)
tree17a4ae984b7abaeac8794d996302766d7a3a8ab0 /core/models
parent57ef43afdbb2dcd7a890d2d0f2606a17bfc5a715 (diff)
Disable default sorting for performance. (thanks Romain LE DISEZ)
Diffstat (limited to 'core/models')
-rw-r--r--core/models/item.php1
1 files changed, 1 insertions, 0 deletions
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]",