mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 08:56:47 +01:00
Merge pull request #79 from Codappix/feature/move-to-constants
TASK: Move additionalWhereClause to constants
This commit is contained in:
commit
83d4ee6679
3 changed files with 8 additions and 4 deletions
|
@ -26,6 +26,9 @@ env:
|
|||
- typo3DatabasePassword=""
|
||||
- TYPO3_VERSION="~7.6"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
services:
|
||||
- mysql
|
||||
|
||||
|
|
|
@ -9,6 +9,10 @@ plugin {
|
|||
}
|
||||
|
||||
indexing {
|
||||
tt_content {
|
||||
additionalWhereClause = tt_content.CType NOT IN ('gridelements_pi1', 'list', 'div', 'menu', 'shortcut', 'search', 'login') AND tt_content.bodytext != ''
|
||||
}
|
||||
|
||||
pages {
|
||||
additionalWhereClause = pages.doktype NOT IN (3, 199, 6, 254, 255)
|
||||
abstractFields = abstract, description, bodytext
|
||||
|
|
|
@ -12,10 +12,7 @@ plugin {
|
|||
# Not for direct indexing therefore no indexer.
|
||||
# Used to configure tt_content fetching while indexing pages
|
||||
tt_content {
|
||||
additionalWhereClause (
|
||||
tt_content.CType NOT IN ('gridelements_pi1', 'list', 'div', 'menu', 'shortcut', 'search', 'login')
|
||||
AND tt_content.bodytext != ''
|
||||
)
|
||||
additionalWhereClause = {$plugin.tx_searchcore.settings.indexing.tt_content.additionalWhereClause}
|
||||
}
|
||||
|
||||
pages {
|
||||
|
|
Loading…
Reference in a new issue