Project

General

Profile

Actions

Bug #16131

closed

tools-> indexed search does not display external files

Added by old_cbalisky about 18 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2006-05-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #61511: Rewrite backend of indexed_searchClosedGeorg Ringer2014-09-10

Actions
Actions

Also available in: Atom PDF