Skip to content

Hotfix Merge issue.#353

Merged
ADmad merged 2 commits into
masterfrom
bugfix-search-config-merge
Jul 30, 2025
Merged

Hotfix Merge issue.#353
ADmad merged 2 commits into
masterfrom
bugfix-search-config-merge

Conversation

@dereuromark

Copy link
Copy Markdown
Member

Hotfixing #352 for now.

Allows to set the defaults to empty from the outside for now, and also more globally - via opt in Search config key.

@dereuromark dereuromark requested a review from ADmad July 30, 2025 11:59
*/
public function __construct(ComponentRegistry $registry, array $config = [])
{
$this->_defaultConfig = (array)Configure::read('Search') + $this->_defaultConfig;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use Search.component key in case we want to add more search config in the future?

@ADmad ADmad merged commit ea8c35a into master Jul 30, 2025
7 checks passed
@ADmad ADmad deleted the bugfix-search-config-merge branch July 30, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants