Commit b6e7d319 authored by alexpott's avatar alexpott

Issue #2394693 by mikeker: "Add another item" button in the wrong place for grouped filters

parent d7421153
......@@ -180,8 +180,12 @@ function theme_views_ui_build_group_filter_form($variables) {
)
),
);
// Render the "Add another item" button below the table.
$add_another = drupal_render($form['add_group']);
$render_form = drupal_render_children($form);
return $output . $render_form . drupal_render($table) . drupal_render($form['add_group']) . $more;
return $output . $render_form . drupal_render($table) . $add_another . $more;
}
/**
......
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