In views, when you choose filter location country and choose IS, and highlight all the countires.

When the select list is rendered in Page or whatever Views Display, it populates all the options as selected.

dprint_r($widgets);
[widget] =>.....
<select name="country" class="form-select location_auto_country location_auto_join_country" id="edit-country" >
<option value="af" selected="selected">Afghanistan</option>
<option value="ax" selected="selected">Aland Islands</option>
<option value="al" selected="selected">Albania</option>
<option value="dz" selected="selected">Algeria</option>
....
<option value="zw" selected="selected">Zimbabwe</option>

They are all selected.

This issue can also cause the list to be sorted incorrectly, i.e. Zimbabwe, will show up as default country, as it's the last selected item. There are probably more side effects, but the following temporary workaround should fix any issues until a patch is created.

Workaround: Choose only one country (one of the smallest country in the world, Nauru) and assign IS NOT:

dprint_r($widgets);
[widget] =>.....
<select name="country" class="form-select location_auto_country location_auto_join_country" id="edit-country" >
<option value="af">Afghanistan</option>
<option value="ax">Aland Islands</option>
<option value="al">Albania</option>
<option value="dz">Algeria</option>
....
<option value="zw">Zimbabwe</option>

Now it populates correctly.

Comments

legolasbo’s picture

Status: Active » Closed (outdated)

Closing old D6 issues as D6 is end of life