Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add possibility to register additional tables to skip for relations #26

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

jackd248
Copy link
Contributor

E.g.
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['xima_typo3_manual']['relations']['additionalTablesToSkip'] = ['tx_kesearch_filters'];

@jackd248 jackd248 requested a review from maikschneider March 25, 2024 16:18
@maikschneider maikschneider merged commit c249d9a into main Mar 26, 2024
3 checks passed
@maikschneider
Copy link
Member

Thanks!

I guess it could be simplified:

$tablesToSkip = array_merge($tablesToSkip, $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['xima_typo3_manual']['relations']['additionalTablesToSkip'] ?? []);

Should we add a ext_conf_template.txt?

@jackd248
Copy link
Contributor Author

Should we add a ext_conf_template.txt?

I would rather see this as a customization in ext_localconf.php.

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