Skip to content

Commit ef47abc

Browse files
committed
Dev: Fix for SP / SB integration (bug was introduced in the options rewrite)
1 parent e008fc2 commit ef47abc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Editor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ private function _options($refresh)
22692269
$this->_out['searchPanes'] = ['options' => []];
22702270
}
22712271

2272-
$this->_out['searchPanes']['options'] = $spOpts;
2272+
$this->_out['searchPanes']['options'][$field->name()] = $spOpts;
22732273
}
22742274

22752275
// SearchBuilder options
@@ -2280,7 +2280,7 @@ private function _options($refresh)
22802280
$this->_out['searchBuilder'] = ['options' => []];
22812281
}
22822282

2283-
$this->_out['searchBuilder']['options'] = $sbOpts;
2283+
$this->_out['searchBuilder']['options'][$field->name()] = $sbOpts;
22842284
}
22852285
}
22862286
}

0 commit comments

Comments
 (0)