It would be really useful for a site I'm doing if I could use the postal_code field as a Views argument, I was surprised this wasn't already added.

CommentFileSizeAuthor
#1 location-n565564.patch628 bytesdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new628 bytes

Here's a simple patch that just exposes the postal_code value as a standard Views argument string. Not the cleanest, but it's better than what we currently have ;-)

ennobln’s picture

Doesn't work!

R.J. Steinert’s picture

Version: 6.x-3.x-dev » 6.x-3.1-rc1

I got it working in 6.x-3.1-rc1 but I need to make the patch file from 6.x-3.1-dev correct?

Dustin Currie’s picture

See http://drupal.org/node/606342 for a more complete implementation of this feature

damienmckenna’s picture

Status: Needs review » Closed (duplicate)

I'm more than happy to mark this as a duplicate of #606342: Views Argument Handler for Proximity.