Download & Extend

Make Synonyms work with Free Tagging

Project:Drupal core
Version:7.x-dev
Component:taxonomy.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

This is a simple patch to taxonomy_node_save() that checks if a listed tag is actually a synonym for an existing Term.

Current behavior would create a new term for a tag, even if it is already listed as a synonym somewhere else.

With this patch, if you enter a tag that is listed as a synonym, it actually tags the node with the root Term for that synonym.

AttachmentSizeStatusTest resultOperations
taxonomy_syn.patch710 bytesIgnored: Check issue status.NoneNone

Comments

#1

Version:5.1» 6.x-dev
Status:needs review» needs work

This will only go in Drupal 6.x. This sort of functionality change is not appropriate for the stable Drupal 5.x.

The coding standards should be followed (http://drupal.org/coding-standards), including always using {} and more spacing.

#2

Version:6.x-dev» 7.x-dev

this'd be great. I've wanted a solution to have terms entered as "John Doe" but rendered as "Doe, John" easily for a while, and it's as good a solution as any. Not for this release cycle though :(

#3

Marking as duplicate of http://drupal.org/node/201269 (which is also for 7.x).

6.x version is available in contrib at http://drupal.org/project/synonym_collapsing.

#4

Status:needs work» closed (duplicate)