Project

General

Profile

Bug #22584 ยป file-language.patch

Administrator Admin, 2010-05-04 14:18

View differences:

pi/class.tx_indexedsearch.php (working copy)
*/
function languageWhere() {
if ($this->piVars['lang']>=0) { // -1 is the same as ALL language.
return 'AND IP.sys_language_uid='.intval($this->piVars['lang']);
return 'AND
(
IP.sys_language_uid='.intval($this->piVars['lang']).'
OR
(
IP.sys_language_uid=0
AND
IP.item_type != '.$GLOBALS['TYPO3_DB']->fullQuoteStr('0', 'index_phash').'
)
)';
}
}
    (1-1/1)