Needs work
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2013 at 11:24 UTC
Updated:
30 Jan 2019 at 01:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chi commentedWhat kind of support you are expecting? Does Entity reference field use any hierarchy?
Comment #2
ishara commentedEntity reference -> Target Type -> Taxonomy Term
Entity reference type can be setup as Taxonomy Term.
I would like to use Entity reference instead of Term Reference because Entity Reference Terms can be filter with Views.
Thank you
Comment #3
chi commentedIt isn't possible because this module is called Taxonomy container. Let's move it to Entity reference issue queue.
Comment #4
chi commentedComment #5
DIMSKK commentedOptgroups are still not supported... Is there any way I can do this?
Comment #6
mrpeanut commentedI'm also looking for a way to get optgroups in an entity reference select field. Anyone stumble across a method of achieving this?
Comment #7
jgullstr commentedHere's a patch that adds optgroups to the views selection handler. To use, group an entityreference view by desired field, then use that view on the reference field.
I have not tested this thoroughly, and I suppose it could be coded more elegantly.
Comment #8
jgullstr commentedthe patch
Comment #9
jgullstr commentedSorting does not seem to work correctly.
Comment #10
jgullstr commentedNope, turns out my view was configured badly.
Comment #11
gravisrs commentedIn some cases this line behaves wrongly. $result is sorted differently than $this->view->result if you use any post-query result altering modules like:
- views PHP (filtering / sorting / grouping)
- computed field (filtering / sorting / grouping)
etc.
Comment #12
megachrizClosed #2277193: Options from views and grouping field and #2758537: Views Select List Grouping as duplicates.
Comment #13
chris matthews commented$rows = array_combine(array_keys($result), $this->view->result);