Voting starts in March for the Drupal Association Board election.
After succesfully used of this module in conjunction with Location module (see: http://drupal.org/node/1542404), I am experimenting now integration with Addressfield module (that's assuming more and more importance, and the version 7.x-5.x of Location module itself most likely will be based on it - see: http://drupal.org/node/1346746).
So, I've created a view that retrieve all Countries with at last a node associated to (see it in attachment).
Then I've setted up a Global Filter to use this Views.
The resulting select show problem very similar to issue in http://drupal.org/node/1542404:
<select id="edit-view-global-filter-addressfield" class="global_filter_2-view_global_filter_addressfield form-select" name="view_global_filter_addressfield"> <option value="">Worldwide</option> <option selected="selected" value="46">AL</option> <option value="50">US</option> </select>
But, we have here different problem:
- Options shows country CODE instead of country NAME
- Values in options are the NIDS of nodes associated to countries (instead they would be country CODES)
- Other countries associated to a single node (addressfield setted up to multivalue) are omitted (e.g. my view correctly retrieve also the country US for the same node that also have IT)
What I really don't understand is this mismatch of what Views returns with what the select provided by Global Filter shows: why Global Filter retrieve NIDS when my view doesn't return those? And why some records are missed when Views returns that instead?
Thank you very much.