Limit number of tags per topic from a given tag group (or workaround)

Related: Suggestion: option to exclude tag group from max tags per topic

In my community we allow up to 5 user-entered tags on topics, but we have some staff-only tags that are automatically set using the new auto tag feature. If the user uses all the 5 tags, auto-tagging won’t work, respecting the max tags per topic limit.

When this happens I have to change the max to 6, add the tag to the topic, and reset the setting.

Discourse has a setting per tag group to “Limit one tag per topic from this group”, allowing to set an integer limit instead of the current boolean would probably be enough to solve my situation and the one described in the related topic.

I understand this is non-trivial and not a priority, so any help like pointing me to a possible workaround is welcome.


1 Like