Option to not load tags
DamienMcKenna - November 9, 2009 - 20:46
| Project: | Content Taxonomy |
| Version: | 6.x-1.0-rc2 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
I've got a site with tens of thousands of terms, so the _content_taxonomy_get_all_terms() function crashes the server with an out-of-memory error. I'd like an option to not load the terms for vocabularies that are tag-based.

#1
Here's a quick patch that adds a variable which allows the terms in tag-based vocabulary to not be loaded in that function.
#2
+1
#3
A second patch, this time it adds a variable to not load the terms at all, as on my site it had over seven hundred terms in non-tag vocabularies which killed my browser.