SF Bug #3391046 - Loading entries with many attributes is very slow
This commit is contained in:
@@ -1563,5 +1563,9 @@ class Template extends xmlTemplate {
|
||||
public function isNoLeaf() {
|
||||
return $this->noleaf;
|
||||
}
|
||||
|
||||
public function sort() {
|
||||
usort($this->attributes,'sortAttrs');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user