From cf43ce126cf69bc08b10044c6f59a3e7768c72b2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 23 Jan 2009 14:23:27 +0000 Subject: - Patch #353632 by catch et al: avoid sorting elements twice -- performance improvement. --- modules/taxonomy/taxonomy.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') 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, ); } -- cgit v1.2.3