preAddModifyDocuments Hook only works for Pages not for tt_news
|Priority:||Should have||Due date:|
|Assignee:||Stefan Sprenger||% Done:||
|TYPO3 Version:||Has patch:|
The preAddModifyDocuments Hook is only implementet in class.tx_solr_indexqueue_pageindexer.php so it works only for pages. I need an Hook to modify a Document of an tt_news record.
Updated by Stefan Sprenger over 2 years ago
- File PreAddModifyDocumentsHook.patch added
- Status changed from New to Needs Feedback
- % Done changed from 0 to 100
can you please check the attached patch?
Updated by Ingo Renner over 2 years ago
Note on the patch:
We moved the hook from the Index Queue page indexer to the general indexer which takes care of tt_news, too. The general indexer does not know about the language of the indexed item though. Thus you have to get the language from the document (for now).