- Issue created by @Chi
- Status changed to Needs review
about 2 years ago 11:50am 25 February 2023 - 🇷🇺Russia Chi
We might consider placing
uasort
after the alter hook, so that countries added through that hook could be sorted.On the other hand, someone may just want to put some country on top of the list.
- 🇬🇧United Kingdom longwave UK
Should we roll back the previous issue first?
- Status changed to Needs work
about 2 years ago 1:14pm 25 February 2023 - Status changed to Needs review
about 2 years ago 1:19pm 25 February 2023 The last submitted patch, 10: core-3344424-10-test-only.patch, failed testing. View results →
- Status changed to RTBC
about 2 years ago 3:37pm 25 February 2023 - Status changed to Needs work
about 2 years ago 2:32am 3 March 2023 - Status changed to Needs review
about 2 years ago 3:59am 3 March 2023 - 🇷🇺Russia niklan Russia, Perm
Rerolled test-only patch. Seems like reverting 🐛 Country list is not correctly sorted when it's localized with accents (e.g. German, Turkish) Postponed removed the bug which we are trying to fix here. Test passes and there is no
$language_id
in::getList()
method anymore.Maybe we should keep the test itself in core to cover that situation?
- 🇷🇺Russia Chi
🐛 Country list is not correctly sorted when it's localized with accents (e.g. German, Turkish) Postponed has been reverted. So that the patch #2 is no longer needed. However, having a test for this hook is still make sense.
The patch #14 looks good to me.
- Status changed to RTBC
about 2 years ago 5:57am 3 March 2023 - 🇫🇷France andypost
Good turn, if core gonna remove that hook then ibwtter to have a test
-
longwave →
committed 17aa9182 on 10.1.x
Issue #3344424 by Niklan, Chi: Add tests for hook_countries_alter()
-
longwave →
committed 17aa9182 on 10.1.x
- Status changed to Fixed
almost 2 years ago 6:57pm 12 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.