diff --git a/Classes/Domain/Index/TcaIndexer/RelationResolver.php b/Classes/Domain/Index/TcaIndexer/RelationResolver.php index ae10f68..e992577 100644 --- a/Classes/Domain/Index/TcaIndexer/RelationResolver.php +++ b/Classes/Domain/Index/TcaIndexer/RelationResolver.php @@ -41,14 +41,7 @@ class RelationResolver implements Singleton continue; } - $record[$column] = GeneralUtility::makeInstance($this->getUtilityForMode()) - ::getProcessedValueExtra( - $service->getTableName(), - $column, - $record[$column], - 0, - $record['uid'] - ); + $record[$column] = $this->getColumnValue($record, $column, $service); try { $config = $service->getColumnConfig($column); @@ -107,4 +100,16 @@ class RelationResolver implements Singleton return FrontendUtility::class; } + + protected function getColumnValue(array $record, string $column, TcaTableServiceInterface $service): string + { + $utility = GeneralUtility::makeInstance($this->getUtilityForMode()); + return $utility::getProcessedValueExtra( + $service->getTableName(), + $column, + $record[$column], + 0, + $record['uid'] + ) ?? ''; + } } diff --git a/Documentation/source/conf.py b/Documentation/source/conf.py index 054c7b8..2e2632b 100644 --- a/Documentation/source/conf.py +++ b/Documentation/source/conf.py @@ -59,9 +59,9 @@ author = u'Daniel Siepmann' # built documents. # # The short X.Y version. -version = u'0.0.4' +version = u'0.0.6' # The full version, including alpha/beta/rc tags. -release = u'0.0.4' +release = u'0.0.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # @@ -132,7 +132,7 @@ html_theme_options = { # The name for this set of Sphinx documents. # " v documentation" by default. -#html_title = u'TYPO3 Extension search_core v0.0.4' +#html_title = u'TYPO3 Extension search_core v0.0.6' # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None diff --git a/Documentation/source/installation.rst b/Documentation/source/installation.rst index fc9b479..acd56d7 100644 --- a/Documentation/source/installation.rst +++ b/Documentation/source/installation.rst @@ -9,7 +9,7 @@ Composer The extension can be installed through composer:: - composer require "codappix/search_core" "~0.0.4" + composer require "codappix/search_core" "~0.0.6" Note that you have to allow unstable packages: diff --git a/ext_emconf.php b/ext_emconf.php index b0b5e65..a21c748 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -18,7 +18,7 @@ $EM_CONF[$_EXTKEY] = [ ], ], 'state' => 'beta', - 'version' => '0.0.4', + 'version' => '0.0.6', 'author' => 'Daniel Siepmann', 'author_email' => 'coding@daniel-siepmann.de', ];