Piezo Pea
Piezo Pea

Reputation: 124

Avoiding duplicates in drupal 6 views2-relationship-results

I'm trying to build a list using drupal6, views and node reference. The list should be look like:

The vehicle is a custom node-type, feature and extra also. In my view I'm listing all vehicle-node (as fields), added relationships to feature and extra nodes and added the reference-fields.

Now I'm getting the desired list. But when the displayed node contains more than one relationship of the same type (see feature in vehicle 1 in list above) I'm getting one result line per relationship (vehicle 1 get displayed three times).

Is there any way to group these results?

Upvotes: 0

Views: 399

Answers (1)

Piezo Pea
Piezo Pea

Reputation: 124

After some longish time searching and trying to implement custom theming solutions to combine the duplicated results, I found a similar question at drupal.org where i found some useful hints:

It seems to be an SQL-related issue (described here) not "solvable" with views2.

I'm now using the Reference view module (http://drupal.org/node/1319746) which allows to set up "child"-views (i.e. features and extras) I can include as fields in my original view (vehicles).

Upvotes: 1

Related Questions