Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | location_province_select_1.patch | 1.42 KB | csevb10 |
Comments
Comment #1
csevb10 CreditAttribution: csevb10 commentedIt'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
Comment #2
csevb10 CreditAttribution: csevb10 commentedSwitch status since I forgot, again...
Comment #3
Memeshift CreditAttribution: Memeshift commentedWoo 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
Comment #4
csevb10 CreditAttribution: csevb10 commentedOk, 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. :-)