I am using Address FIelds to create a retailer list. The Views feature to group by the Adminstrative Area seems perfect, but it uses the abbreviated state or province names to sort by. Is there any way to access the full name. (For example, entries in Maryland are listed under MD, but I want them under a Maryland header.)

Comments

rszrama’s picture

Title: Use full State/Province for Grouping » Use the full administrative area name for Views "group by" headings
Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Component: Miscellaneous » Code
Category: support » feature

This will be dependent on #1829900: [meta] Address Field 2.x needs pluggable administrative areas and an actual API, as there's currently no easy way to get at the full name from the abbreviation. It will likely require a custom Views handler, but I'm not sure.

Dentorat’s picture

Status: Active » Closed (fixed)

You can use the Addressfield Tokens module to accomplish this.

rszrama’s picture

Status: Closed (fixed) » Active

Doesn't mean we still shouldn't support it natively in this module. I'm happy to leave this open.