Closed (outdated)
Project:
Location
Version:
6.x-3.x-dev
Component:
Location_views
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2009 at 05:01 UTC
Updated:
19 Jul 2016 at 12:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jazzdrive3 commentedAny ideas for troubleshooting?
Comment #2
jazzdrive3 commentedAny ideas?
Comment #3
jazzdrive3 commentedSo no one else has seen this problem?
Comment #4
jazzdrive3 commentedHere is the query as it's showing in Views.
This is if the proximity field has been filled out. Notice the "AND (0)" at the end, so it returns nothing. If I empty the proximity field, that clause disappears, and every field is shown, with nothing in the Distance table fields.
Notice also that there is nothing pertaining to the zip code at all. So this views integration is completely broken.
Can someone address this?
Comment #5
BartVB commentedSame problem(s) here. The missing data in the 'distance' column seems to be caused in location_handler_field_location_distance.inc()
which contains:
Which doesn't seem to pick up the lat/lon of the entered location in the filter.
The 'distance' field is filled properly if you choose 'static location' in the options for this field. Now the question is where the query function is supposed to get the lat/lon from.
Comment #6
BartVB commentedOk, looks like I fixed this issue (with my extremely minimal knowledge of the Views framework :D).
It only changes:
into
to handle the case where a view doesn't have any relationships. Not sure if this is the way to go but works for me :)
Comment #8
ankur commentedbump
Comment #9
podarokbot recall
Comment #10
podarokbot
Comment #12
legolasboClosing old D6 issues as D6 is end of life