[BUGFIX] Wrong doctrine migration in indexed_search 69/50369/4
authorGerrit Mohrmann <mohrmann.t3@gmx.de>
Tue, 25 Oct 2016 12:11:58 +0000 (14:11 +0200)
committerJan Helke <typo3@helke.de>
Tue, 25 Oct 2016 14:51:14 +0000 (16:51 +0200)
Insert column 'phash' in the select statement
in checkContentHash()

Resolves: #78429
Related: #77390
Releases: master
Change-Id: I51395ec0a367fa54fba21d7b632ff37c77205dca
Reviewed-on: https://review.typo3.org/50369
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/indexed_search/Classes/Indexer.php

index 9837193..1535534 100644 (file)
@@ -1852,7 +1852,7 @@ class Indexer
         if (IndexedSearchUtility::isTableUsed('index_phash')) {
             $row = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('index_phash')
                 ->select(
-                    ['item_mtime', 'tstamp'],
+                    ['phash'],
                     'index_phash',
                     [
                         'phash_grouping' => (int)$this->hash['phash_grouping'],