Province Selector filter returns no results

Darren Oh - February 13, 2007 - 22:56
Project:Location Views
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

When I type the state abbrieviation in the text field of the Province filter, I get a list of nodes in that state. When I select = and the province name in the Province Selector filter, I get nothing.

I'm wondering if that's because there's no handler for the Province Selector filter or because the value returned by the drop-down menu is a two-letter country code separated from the state abbreviation by a dash rather than the state abbrieviation alone.

#1

csevb10 - April 2, 2007 - 21:38

It's because there's no handler for the Province Selector.
I patched this in another thread, but let's move it here since this is more accurate.
+ added my missing break statement

AttachmentSize
location_province_select_1.patch 1.42 KB

#2

csevb10 - April 2, 2007 - 21:39
Status:active» needs review

Switch status since I forgot, again...

#3

Memeshift - February 21, 2008 - 02:15

Woo hoo! It works! I was trying to solve this for the longest time. For others who come here looking for a way to 'fix' their Province Selector functionality this works.

For those needing to know how to patch a module, see here:

http://drupal.org/node/34422#comment-710108

#4

csevb10 - February 21, 2008 - 18:37
Status:needs review» reviewed & tested by the community

Ok, people keep using the patch and saying it solves their problems, so I'm just going to go ahead and assume it's a good fix and switch the status. :-)

 
 

Drupal is a registered trademark of Dries Buytaert.