I'm trying to make a view similar to theWhen I set contextual filters in Views for Location directoryContent: my field: country viewand Content: my field: administrative area (provided by default with the Location modulestate/province), but using the Addressfield module instead.
However, when I display a summary using a contextual filter on an addressfield field and select Display a summary
for When the filter value is not available, it returns a list of country/administrative area codes ("JP"), not the namenames of the country/administrative area ("Japan"). How can I show the name of the country instead of the country code?
BACKGROUND
After seeing this announcement that one of the location maintainers will no longer be working on the D7 version, I have decided to migrate from Location to the Addressfield/Geofield/Geocoder family of modules.
In the current version of my site, which uses the Location module, I make extensive usenames of the Location directory view, which by default shows a list of all countries for which there is at least one node with that location. Then, if one clicks on the countries, one sees a list of states/provinces for which there is at least one node with that location. Then, if one clicks a state/province, one gets a list of cities within that state/province. Finally, if one clicks the city, one gets a list of nodes with locations in that city.
I tried to implement this using the field provided by the Addressfield module. To do so, I configured the contextual filters in the same way as the Location directory view is configured. This works, but I'm getting the country codeadministrative areas instead of the name of the country.codes?