Bug #29086 » class.t3lib_search_livesearch.diff
t3lib/search/class.t3lib_search_livesearch.php 2011-08-18 16:25:18.000000000 +0200 | ||
---|---|---|
*/
|
||
public function find($searchQuery) {
|
||
$recordArray = array();
|
||
$pageIdList = $this->getAvailablePageIds(
|
||
implode(',', $GLOBALS['BE_USER']->returnWebmounts()),
|
||
self::RECURSIVE_PAGE_LEVEL
|
||
);
|
||
$pageIdList = '';
|
||
$mounts = $GLOBALS['BE_USER']->returnWebmounts();
|
||
foreach ($mounts as $pageId) {
|
||
$pageIdList .= $this->getAvailablePageIds(
|
||
$pageId, self::RECURSIVE_PAGE_LEVEL
|
||
) . ',';
|
||
}
|
||
$pageIdList = substr($pageIdList, 0, -1);
|
||
$limit = $this->startCount . ',' . $this->limitCount;
|
||
if ($this->queryParser->isValidCommand($searchQuery)) {
|