diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-01-23 14:23:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-01-23 14:23:27 +0000 |
commit | cf43ce126cf69bc08b10044c6f59a3e7768c72b2 (patch) | |
tree | 32833a8e513378ea77550caa0f3faff8fbde2472 /modules/taxonomy/taxonomy.module | |
parent | 887eecc796d53bdb4e3631381de7fa54543c2443 (diff) | |
download | brdo-cf43ce126cf69bc08b10044c6f59a3e7768c72b2.tar.gz brdo-cf43ce126cf69bc08b10044c6f59a3e7768c72b2.tar.bz2 |
- Patch #353632 by catch et al: avoid sorting elements twice -- performance improvement.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 3 |
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, ); } |