This patch provides an admin setting to limit the display of terms from vocabularies that use free-tagging by implementing a threshold on node counts. The motivation is the sitemap page is very long on sites with that have a lot of tags (similar issues #178968 and #192066). Showing and subscribing to these tags may only be useful if the node count is greater than 0. This patch adds a configurable number (threshold to check against node count) to limit those terms by.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

coltrane’s picture

Here's the same patch against 5.x-1.x-dev.

cyberswat’s picture

Status: Needs review » Reviewed & tested by the community

we are using this in production ... looks good.

Anonymous’s picture

Wouldn't it be more useful to have paging instead of limiting the amount of tags to be displayed? Or perhaps I misunderstand and this is exactly what your patch does?

Anonymous’s picture

Sorry, revisiting my previous comment I see that these are two different things - I would like to see both!

iva2k’s picture

See also a patch in #504794: Usability patch: count thresholds, RSS links alignment, etc. for D6.

I made the name of setting variable compatible with patches in #0 and #1. I am not intending to roll it for D5 since I completely switched to D6, but if anyone wants it - fell free to pick it up and convert for D5 branch.

frjo’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

No new features will go in to the Drupal 5 version. For the Drupal 6 version please see https://drupal.org/node/504794.