Commit 2f027d5c authored by webchick's avatar webchick

Issue #1904882 by balsama, YesCT: Entity reference field Reference method...

Issue #1904882 by balsama, YesCT: Entity reference field Reference method Default settings order should be Filter by then Sort by.
parent 10b2281f
......@@ -31,8 +31,6 @@ class UserSelection extends SelectionBase {
* Overrides SelectionBase::settingsForm().
*/
public static function settingsForm(&$field, &$instance) {
$form = parent::settingsForm($field, $instance);
// Merge in default values.
$instance['settings']['handler_settings'] += array(
'filter' => array(
......@@ -74,6 +72,8 @@ public static function settingsForm(&$field, &$instance) {
);
}
$form += parent::settingsForm($field, $instance);
return $form;
}
......
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