summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-23 14:23:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-23 14:23:27 +0000
commitcf43ce126cf69bc08b10044c6f59a3e7768c72b2 (patch)
tree32833a8e513378ea77550caa0f3faff8fbde2472 /modules/taxonomy
parent887eecc796d53bdb4e3631381de7fa54543c2443 (diff)
downloadbrdo-cf43ce126cf69bc08b10044c6f59a3e7768c72b2.tar.gz
brdo-cf43ce126cf69bc08b10044c6f59a3e7768c72b2.tar.bz2
- Patch #353632 by catch et al: avoid sorting elements twice -- performance improvement.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index ecbe2c9de..695b45bc1 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -76,7 +76,8 @@ function taxonomy_nodeapi_view($node) {
$node->content['links']['terms'] = array(
'#type' => 'node_links',
- '#value' => $links
+ '#value' => $links,
+ '#sorted' => TRUE,
);
}