Posted by xjm on January 29, 2010 at 5:25pm
2 followers
| Project: | Taxonomy Lineage |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | xjm |
| Status: | closed (fixed) |
Issue Summary
The lineage API appends weight string names to term names when lineages are stored, and so should also include a function to reverse the process. (Currently, the weight strings are removed "manually" in the views field handler.)
The following issues would both benefit from this change:
#555316: Views 2: Improve field handler
#612908: Add lineage nested list style plugin
Comments
#1
The attached patch implements this change. Patch applied to the current dev build on my sandbox and tested with several views; works fine.
Note: Patch is at the directory level since multiple files are affected, so to patch use the -p option:
...drupal/sites/all/modules/lineage $ patch -p1 < lineage-699198-1.patch#2
Committed to dev branch.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.