Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country/State PseudoConstant not sorted according to the locale #16258

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

samuelsov
Copy link
Contributor

Overview

In dropdown list like the one in search builder, the country and state fields are not sorted according to the current locale.

Before

Peek 09-01-2020 13-04

After

Peek 09-01-2020 13-05

Technical Details

The code assume that CRM_Utils_Array::asort works like standard asort but it's not.

@civibot
Copy link

civibot bot commented Jan 9, 2020

(Standard links)

@civibot civibot bot added the master label Jan 9, 2020
@eileenmcnaughton
Copy link
Contributor

Looks like a straight up coding error - merging

@eileenmcnaughton eileenmcnaughton merged commit 1d94337 into civicrm:master Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants