diff --git a/Classes/System/Configuration/TypoScriptConfiguration.php b/Classes/System/Configuration/TypoScriptConfiguration.php index 7468bd10da..db47e3bcd3 100644 --- a/Classes/System/Configuration/TypoScriptConfiguration.php +++ b/Classes/System/Configuration/TypoScriptConfiguration.php @@ -981,7 +981,7 @@ public function getSearchLastSearches(bool $defaultIfEmpty = false): bool * * plugin.tx_solr.search.lastSearches.mode */ - public function getSearchLastSearchesMode(string $defaultIfEmpty = 'user'): string + public function getSearchLastSearchesMode(string $defaultIfEmpty = 'disabled'): string { $result = $this->getValueByPathOrDefaultValue('plugin.tx_solr.search.lastSearches.mode', $defaultIfEmpty); return (string)$result; diff --git a/Configuration/TypoScript/Solr/setup.typoscript b/Configuration/TypoScript/Solr/setup.typoscript index fb9cefcda6..cebbf24130 100644 --- a/Configuration/TypoScript/Solr/setup.typoscript +++ b/Configuration/TypoScript/Solr/setup.typoscript @@ -199,7 +199,7 @@ plugin.tx_solr { lastSearches { limit = 10 // tracking mode "user", "global" or "disabled" - mode = user + mode = disabled } frequentSearches = 0 diff --git a/Documentation/Configuration/Reference/TxSolrSearch.rst b/Documentation/Configuration/Reference/TxSolrSearch.rst index b7b9ad5738..4d7af3a241 100644 --- a/Documentation/Configuration/Reference/TxSolrSearch.rst +++ b/Documentation/Configuration/Reference/TxSolrSearch.rst @@ -622,7 +622,7 @@ lastSearches.mode :Type: String :TS Path: plugin.tx_solr.search.lastSearches.mode :Since: 1.3-dkd -:Default: user +:Default: disabled :Options: user, global, disabled If mode is user, keywords will get stored into the session. If mode is global keywords will get stored into the database. If mode is disabled, then keywords are not stored in the database.