Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, i am trying to use the Facet Blocks display with your module.
It works, but i can't display the term name. It allways displays the tid of the term.
In the "normal" facet blocks, everything is ok.
I ve attach a screen shot with my view configuration at the moment. Is there anything i am doing wrong?
Thanks for your help,
Herve.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1191442--facets-block-display--labels.patch | 2.69 KB | drunken monkey |
screenshot.jpg | 80.41 KB | herve |
Comments
Comment #1
drunken monkeyThe "Fields" settings aren't used for the "Facets block" display, so changing this won't have any effect.
Please see if the attached patch helps.
Comment #2
herve CreditAttribution: herve commentedThanks, i ve resolved the issue by using term name for the facet, and not the whole term object :)
Comment #3
drunken monkeyAs indexing term names instead of the objects is not recommended, it would still be nice to be able to fix this bug. So could you please review the patch?
And in any case, this shouldn't be marked as "fixed" as long as the bug exists.
Comment #4
richygecko CreditAttribution: richygecko commentedHad the same issue and the above patch fixed the issue for me.
Comment #5
herve CreditAttribution: herve commentedI apologize drunken monkey, i was not understanding the "add entity" functionnality, in the facet configuration. I have just add my vocabulary in the entities i manage, and i add the term name in the facet. It works like a charm. Thanks !
Comment #6
drunken monkey@ richygecko: Thanks for reviewing! I now committed this.
@ herve: As stated in #3, please refrain from marking issues as "fixed" as long as the underlying problem isn't resolved. Even though you now solved this differently, there will still be people who'll want this fixed in the module.