I'm not sure if there is any reason why this is the way it is, but the get_value function only checks for data in the $values->node class.
This changes the function to retrieve all data from the $values->fields array instead. This change allows views to display non-node entities. I am not sure if there are any side effects to this change. I tested it with node entities (as well as product entities) and it seemed to work fine.
| Comment | File | Size | Author |
|---|---|---|---|
| apachesolr_commerce-indexproductreferences-01.patch | 1.58 KB | mwisner |
Comments
Comment #1
ygerasimov commentedI think patch is irrelevant to the issue. Anyhow now field handler does not assume that object is node so I mark this issue as fixed.