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

DamienMcKenna - November 9, 2009 - 20:52
Status:active» needs review

Here's a quick patch that adds a variable which allows the terms in tag-based vocabulary to not be loaded in that function.

AttachmentSize
content_taxonomy-n628014.patch 2.29 KB

#2

cyberswat - November 9, 2009 - 20:58

+1

#3

DamienMcKenna - November 9, 2009 - 21:42

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.

AttachmentSize
content_taxonomy-n628014-v2.patch 2.93 KB
 
 

Drupal is a registered trademark of Dries Buytaert.