Bug #29086 » class.t3lib_search_livesearch.diff
t3lib/search/class.t3lib_search_livesearch.php 2011-08-19 09:12:44.000000000 +0200 | ||
---|---|---|
*/
|
||
public function find($searchQuery) {
|
||
$recordArray = array();
|
||
$pageIdList = $this->getAvailablePageIds(
|
||
implode(',', $GLOBALS['BE_USER']->returnWebmounts()),
|
||
self::RECURSIVE_PAGE_LEVEL
|
||
);
|
||
$limit = $this->startCount . ',' . $this->limitCount;
|
||
$pagelist = array();
|
||
$mounts = $GLOBALS['BE_USER']->returnWebmounts();
|
||
foreach ($mounts as $pageId) {
|
||
$pagelist[] = $this->getAvailablePageIds($pageId, self::RECURSIVE_PAGE_LEVEL);
|
||
}
|
||
$pageIdList = implode(',', $pagelist);
|
||
unset($pagelist);
|
||
$limit = $this->startCount . ',' . $this->limitCount;
|
||
if ($this->queryParser->isValidCommand($searchQuery)) {
|
||
$this->setQueryString($this->queryParser->getSearchQueryValue($searchQuery));
|
- « Previous
- 1
- 2
- Next »