I have a view setup using the location module to do proximity searches via zip code. The view functions fine alone, but when I enable views filter block module the views begins to produce an error:
user warning: Unknown column 'distance' in 'order clause' query: SELECT location.country, IF(location.province='' OR location.province IS NULL,'unknown',location.province) AS ...

My guess is that the "distance" field is somehow not being recognized properly with the views filter block module i senabled, but is recognized fine with it disabled. (I know very little about drupal module programming :( )

Any ideas what could be causing this problem?

Comments

EvanDonovan’s picture

Does this issue still apply? I have been using a location proximity filter in a views filter block for about a year now and haven't had any difficulties.

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Views Filter Block is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.