I have 4 content types established:
Type (i.e. Tractor, Combine, etc.)
Manufacturer (John Deere, Caterpillar, etc.)
Model(4020, 9900, etc.)
Equipment (This is where I implement hs_nodereference)

A Type can have a multiple manufacturers given through a node reference field on the Manufacturer content type. ( IE. tractors can be made by Caterpillar and John Deere) A Model can only have one manufacturer given through a node reference field of the Model content type. (IE model 4020 only belongs to John Deere) Then on the Equipment content type the hs_nodereference field is used to map things together (Model.Manufacturer-Model.Type), however, if I have a couple of Type nodes created (tractors and combines) it will pull all model numbers entered in for a particular manufacturer and not filter by the Type node set in the first selection of the hs_nodereference field. So all models are displayed in the select list whether they are John Deere Tractors or John Deere Combines.
Ex. Tractors -> John Deere -> 4020 (4020 is a tractor model) pulls the same John Deere models even is the type is different in the HS Node Reference field as i.e. Combines -> John Deere ->4020

Is there anyway to make the node reference "respect" the hierarchy path?

Thanks

Comments

jrao’s picture

I tried to recreate your content types, but I think I'm missing something here, where is the relationship that says "4020 is a tractor model"? It looks like Model only has relationship Manufacturer, not Type.

If Model references both Type and Manufacturer, then I guess we do have a problem here since when Model dropdown is populated it only uses the selected Manufacturer, not the selected Type.

jrao’s picture

Status: Active » Postponed (maintainer needs more info)
jrao’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)