Hello.

In Views, you can arrange the items in your View output by using the "Group By" option; this could be used with a field called "category," for example, in order to display all of the node titles of a certain category under the proper heading.

However, when I use a View to filter the possible options of my Nodereference select field, the category names are not displayed in the field. Is there any way to achieve this?

In other words, I would like to achieve a hierarchical select nodereference field based on a "category" field for each item. I have tried the Hierarchical Select + Hierarchical Select Nodereference modules, but it isn't working out for me and is more than I really need, anyway.

Any help is appreciated.

Comments

blaiz’s picture

I have the same problem. I'm creating a Review page for anyone of our customer to fill, and I'd like to sort our products by categories, but it doesn't work. Subscribing to the issue.

diodata’s picture

Same situation here. I'd love to have this functionality and not sure of a workaround. This may need to be a feature request rather than a support request.

keva’s picture

Category: support » feature

agreed it should be a feature request.

A patch was created to fix the sort order. I have no problems with the sort order (even using a relationship). Would just like to get the grouping category to show up. It looks like lines 19-32 in content_plugin_style_php_array_ac.inc may be key.

blaiz’s picture

It would be nice, if the selected rendering is a list, to have something that looks like this: http://drupal.org/node/add/project-issue
There is the Drupal project category, then there is the Installation profiles category, then the Themes. It would be perfect if the Nodereference Select could do the same.

monotaga’s picture

Did anyone ever figure out something here to get this functionality?