Sorting a view with multiple taxonomy term relationships returns duplicate nodes
Bodo Maass - September 22, 2009 - 13:19
| Project: | Faceted Search |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I display my search results as a view containing a list of nodes and multiple taxonomy terms that use a relationship on a content_taxonomy field. When I first display the view, everything is fine.
But when I click on any of the taxonomy term colums to sort the view (with Ajax turned off), I get many duplicates. I think it returns the product of all terms in the search result set. Unfortunately I cannot enable 'distinct' in my view because of http://drupal.org/node/376382.

#1
When you first create a view, select Taxonomy Terms as the type instead of Node.
See here
http://drupal.org/node/350977#comment-1174041