Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.3
Component:
node data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2009 at 01:58 UTC
Updated:
3 Jan 2014 at 00:07 UTC
Jump to comment: Most recent
Comments
Comment #1
bgnm2000 commentedanything?
Comment #2
harry slaughterwatching
Comment #3
bgnm2000 commentedHey Harry,
I was able to accomplish this using a custom function in template.php. I don't believe it's possible in a view's alone.
Comment #4
faunapolis commentedThere is a "Node: Distinct" option in the basic settings for your view that you can probably use. Why views shows duplicate nodes so often, I don't understand. I am having the same problem doing proximity searches using views and the location module and not even this option is working for me so far.
Setting the "Distinct: Yes" option in the basic settings doesn't fix this issue for some reason.
Comment #5
giggler commentedIs the "Node: Distinct" the same thing as "Distinct: Yes"? I can't find "Node: Distinct"
and why does this seem random? I've set other views that were fine and this new view for a new CC has the double result.
Comment #6
giggler commentedI redid views from scratch and the duplication went away.
Comment #7
faunapolis commentedOk, my problem was because of me and not because of the view (obviously). There was a reason why my nodes were showing duplicated, and it is that they were being found twice because of a multiple field that had two values.
I solved this problem by "grouping" the results. That is done clicking on the little "Gear Icon" next to the "Style: Unformatted" field in the "Basic Settings". Then you tell it to group by the field that is not repeated.
Hope this helps somebody
Comment #8
dawehnerthx for sharing your solution
so this can be marked as fixed