Commit 60ed7cee authored by sun's avatar sun

#193888 by mvc: Fixed select lists options in Views UI are not sorted.

parent 0d988eb4
......@@ -2,6 +2,7 @@ CHANGELOG for Views for Drupal 5
Views 5.x-1.x
Bugs fixed:
o #193888 by mvc: Fixed select lists options in Views UI are not sorted.
o #247420 and #217015 by smk-ka, webchick: Fixed SQL error when using empty
text as argument default.
o #191420 by sun: Fixed missing t() for view import page title.
......
......@@ -1716,6 +1716,7 @@ function views_ui_render_section(&$form, $items, $header, $section, &$collapsed)
* Render the add buttons for one of the dynamic sections on our form.
*/
function views_ui_render_section_add(&$form, $items, $label) {
asort($form['id']['#options']);
foreach ($items as $item) {
$row[] = drupal_render($form[$item], false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment