Bug #16131
closedtools-> indexed search does not display external files
0%
Description
in file sysext/indexed_search/mod
// TYPO3 pages, unique
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count() AS pcount,index_phash.', 'index_phash', 'item_type>0', 'phash_grouping,phash,cHashParams,data_filename,data_page_id,data_page_reg1,data_page_type,data_page_mp,gr_list,item_type,item_title,item_description,item_mtime,tstamp,item_size,contentHash,crdate,parsetime,sys_language_uid,item_crdate,externalUrl,recordUid,freeIndexUid', 'item_type');
This request does not return any rows because of the item_type>0 condition.
My suggestion is to replace condition with 'length(item_type)>1' as follows. (;-) it's only a suggestion ...).
// TYPO3 pages, unique
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count() AS pcount,index_phash.', 'index_phash', 'length(item_type)>1', 'phash_grouping,phash,cHashParams,data_filename,data_page_id,data_page_reg1,data_page_type,data_page_mp,gr_list,item_type,item_title,item_description,item_mtime,tstamp,item_size,contentHash,crdate,parsetime,sys_language_uid,item_crdate,externalUrl,recordUid,freeIndexUid', 'item_type');
Blue Skies
(issue imported from #M3434)
Updated by Alexander Opitz about 11 years ago
- Target version deleted (
0) - TYPO3 Version set to 4.0
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Mathias Schreiber over 9 years ago
- Target version set to 7.5
- Is Regression set to No
Updated by Tymoteusz Motylewski about 9 years ago
- Status changed from New to Resolved
Hi,
Since TYPO3 7 the indexed search backend module was completely rewritten.
See
https://review.typo3.org/#/c/32708/
and
https://forge.typo3.org/issues/61511
This bug is solved there already.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed