Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 May 2007 at 05:59 UTC
Updated:
15 Jan 2008 at 22:23 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_syn.patch | 710 bytes | eli |
Comments
Comment #1
drummThis 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.
Comment #2
catchthis'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 :(
Comment #3
cwgordon7 commentedMarking 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.
Comment #4
cwgordon7 commented