Closed (fixed)
Project:
Hierarchical Term Reference Autocomplete
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 May 2013 at 14:53 UTC
Updated:
2 Jun 2015 at 14:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hypertext200Comment #2
arpieb commentedThanks for the suggestion and patch! I'll check it out and if all's well commit it to the dev branch.
Looks like this addresses one of the feature requests in #1728132: Add field instance settings "leaves only" and "select parents automatically".
Comment #3
charlie charles commented@#1 Thanks for the patch.
I've tested it
I get the parent term showing up twice
using any hierarchical display setting i.e
hierarchical_term_formatter or hierarchical_select
for example
Comment #4
interdruper commentedNew patch is attached, based on #1987168-1: Auto tag parent term when child term is selected).
Changes from #1987168-1: Auto tag parent term when child term is selected:
A sample use case:
Including all the ancestor terms may be very useful for making easier some searches, using filters and/or facets.
e.g:
in a hierarchical vocabulary like:
Europe | ----- Spain | ------ Madridselecting 'Madrid' will include all the 3 terms in the field, preserving the hierarchical order.
Comment #5
Rustan commented#4 works well for me.
Comment #7
arpieb commentedMerged to 7.x-1.x, deployed on release 1.0-alpha3. Thanks for the contributions!
Comment #8
arpieb commented