Posted by scito on November 10, 2011 at 9:10pm
6 followers
Jump to:
| Project: | Custom breadcrumbs |
| Version: | 7.x-2.x-dev |
| Component: | custom_breadcrumbs_taxonomy |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
The method custom_breadcrumbs_taxonomy_node_get_lightest_term() does not return the lightest term of the lightest vocabulary.
This method assumes that the terms are ordered by vocabulary weight and term weight as in Drupal 6's method taxonomy_node_get_terms().
However, the terms of custom_breadcrumbs_taxonomy_node_get_terms() are not ordered.
I've added a patch which restores the same order as in Drupal 6.
| Attachment | Size |
|---|---|
| cb_lightest-0.patch | 770 bytes |
Comments
#1
#2
the patch i was searching for! thanks for sharing - now i`m able to define which vocabulary to use for breadcrumbs.
#3
many thanks for patch #1, works like a charm
#4
Works great, thanks!