Bug #22080 ยป 13463.diff
typo3/sysext/indexed_search/modfunc2/class.tx_indexedsearch_modfunc2.php (working copy) | ||
---|---|---|
function listSeveralStats($title,$addwhere,$conf) {
|
||
global $LANG;
|
||
$queryParts['SELECT']= '*, COUNT(*) AS c';
|
||
$queryParts['SELECT'] = 'word, COUNT(*) AS c';
|
||
$queryParts['FROM']='index_stat_word';
|
||
$queryParts['WHERE']=sprintf('pageid= %d '.$addwhere, $conf['bid']);
|
||
$queryParts['GROUPBY']='word';
|
||
... | ... | |
$secureaddwhere = ' AND pageid IN ('.($this->extGetTreeList($conf['bid'],100,0,'1')).$conf['bid'].') ';
|
||
$this->note = $LANG->getLL('allpages');
|
||
$queryParts['WHERE']= '1 '.$addwhere.$secureaddwhere;
|
||
$queryParts['WHERE'] = '1=1 ' . $addwhere . $secureaddwhere;
|
||
}
|
||
// make real query
|