In issue #4679 fixed in #4690 @dkanchev reported an issue with the sorting of available languages in the admin login.
It looks like we have the same issue in the user manager when setting the default languages per user.
@brianteeman can you insert $options = sort($options);
at
https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/form/fields/language.php#L53
I don’t have many languages installed to test it :(
Sorry I do not have access to the server where the problem occurs right now
On 23 October 2014 21:41, Dimitri Grammatiko notifications@github.com
wrote:
@brianteeman https://github.com/brianteeman can you insert $options =
sort($options); athttps://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/form/fields/language.php#L53
I don’t have many languages installed to test it :(
—
Reply to this email directly or view it on GitHub
#4907 (comment).
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
@joomdonation how about:
$options = array_merge(
parent::getOptions(),
sort(JLanguageHelper::createLanguageList($this->value, constant('JPATH_' . strtoupper($client)), true, true))
);
@dgt41: That won't work, too because JLanguageHelper::createLanguageList returns multidimensional arrays. I made the PR #4917, look at the code and you will see how I fix it (actually, I use the same solution as in the PR ##4690 which was committed).
@brianteeman : Please help testing that PR as not many users can see that issue and it is difficult for them to test it (seems this issue only happens on some special cases).
Please see #4917
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4907.
Status | New | ⇒ | Closed |
Rel_Number | ⇒ | 4917 | |
Relation Type | ⇒ | Related to |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-27 16:17:30 |
Labels |
Added:
?
|
i assume that a similar fix would resolve this
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4907.