Closed (fixed)
Project:
Location
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2008 at 19:19 UTC
Updated:
24 May 2009 at 06:01 UTC
The join in location_views simply uses location.eid = node.vid. But this is not sufficient because both user and nodes have locations, and a user's uid could be the same as a node's vid. So the join needs to use location.eid=node.vid AND location.type=node.
| Comment | File | Size | Author |
|---|---|---|---|
| location_views_node.diff | 510 bytes | Dave Cohen |
Comments
Comment #1
SeanA commentedAha! Thank you, this bug was driving me crazy. I have user and node locations enabled, and strange duplicate nodes were showing up in my location views. After applying the patch everything works nicely.
Comment #2
yesct commentedThere have been lots of improvements; I think it might be in the latest version. Could someone please confirm this in the latest version?
Please re-roll this if it is still needed.
If no-one responds in 2 weeks, I'll mark it as postponed (needs more info).
Comment #3
yesct commentedComment #4
yesct commented3.x is out. Marking this closed since it is so old, and I think there is a different implementation now.