mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 08:16:12 +01:00
Merge remote-tracking branch 'origin/develop' into feature/elastic-upgrade
Conflicts: Classes/Configuration/ConfigurationContainer.php
This commit is contained in:
commit
f9ef8cb3bb
3 changed files with 19 additions and 2 deletions
|
@ -44,8 +44,7 @@ class ConfigurationContainer implements ConfigurationContainerInterface
|
|||
{
|
||||
$this->settings = $configurationManager->getConfiguration(
|
||||
ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS,
|
||||
'SearchCore',
|
||||
'Search'
|
||||
'SearchCore'
|
||||
);
|
||||
if ($this->settings === null) {
|
||||
throw new NoConfigurationException('Could not fetch configuration.', 1484226842);
|
||||
|
|
|
@ -17,3 +17,4 @@ Changelog
|
|||
changelog/20180308-introduce-php70-type-hints
|
||||
changelog/20180306-120-facet-configuration
|
||||
changelog/20180926-163-allow-zero-as-typoscript-filter-value
|
||||
changelog/20181106-170-do-not-specify-the-pluginname-in-configurationcontainer
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
Feature 170 "Do not specify the pluginName in ConfigurationContainer"
|
||||
===============================================================================
|
||||
|
||||
Prior to the change it was not possible to create a second plugin in a
|
||||
separate extension. The pluginName for the configuration was set to `search`.
|
||||
The problem was that the plugin specific settings could not be fetched.
|
||||
|
||||
The configuration in `plugin.tx_exampleextension_pluginkey.settings {..}` and
|
||||
from flexform were not fetched.
|
||||
|
||||
Now the pluginName is not set and the ConfigurationManager checks which plugin
|
||||
is used in the current context.
|
||||
|
||||
It is now possible to create a second plugin. For example if you want to cache
|
||||
the output of your query or the filters you specified.
|
||||
|
||||
See :issue:`170`.
|
Loading…
Reference in a new issue