Issue Bug Closed

#29086Livesearch didn't find alle pages

Udo Leimberger 08/18/11, 16:34 updated 10/24/17, 20:18

Description

If you are a BE user with various mountpoints (no admin) , liveserach didn’t find all pages.
Attached – bugfix for class.t3lib_search_liveserach.php

Reviews 2

Files 2

History 510

  1. Markus Klein commented 08/18/11, 18:21

    Hi Udo,

    thanks for your contribution.

    I suggest a different coding:

    $pagelist = array();
    $mounts = $GLOBALS['BE_USER']->returnWebmounts();
    foreach ($mounts as $pageId) {
        $pagelist[] = $this->getAvailablePageIds($pageId, self::RECURSIVE_PAGE_LEVEL);
    }
    $pageIdList = implode(',', $pagelist);
    unset($pagelist);

    Could you please post this patch to the TYPO3 review system?
    See http://forge.typo3.org/projects/typo3v4-core/wiki/Contribute_Walkthrough how it works.

    Thank you.

  2. Udo Leimberger commented and changed attached class.t3lib_search_livesearch.diff 08/19/11, 09:21

    Hi Marcus,

    attached the new diff.

    Unfortunately your link to the Contribute Walkthrough ends in a non completed doc.

    Do you have another link ?

    Thank you

    Best regards
    Udo

  3. Mr. Hudson 08/22/11, 08:28 Patch set 1 of change Ie4c9c41f65d8a84722fa3847921912c7fb5a18f1 has been pushed to the review server. It is available at http://review.typo3.org/4460

  4. Udo Leimberger commented 08/22/11, 08:37

    1. is now in review.
  5. Mr. Hudson 08/22/11, 11:20 Patch set 2 of change Ie4c9c41f65d8a84722fa3847921912c7fb5a18f1 has been pushed to the review server. It is available at http://review.typo3.org/4460

  6. Mr. Hudson 08/22/11, 11:21 Patch set 3 of change Ie4c9c41f65d8a84722fa3847921912c7fb5a18f1 has been pushed to the review server. It is available at http://review.typo3.org/4460

  7. Mr. Hudson 08/24/11, 14:21 Patch set 4 of change Ie4c9c41f65d8a84722fa3847921912c7fb5a18f1 has been pushed to the review server. It is available at http://review.typo3.org/4460

  8. Mr. Hudson 08/24/11, 17:21 Patch set 5 of change Ie4c9c41f65d8a84722fa3847921912c7fb5a18f1 has been pushed to the review server. It is available at http://review.typo3.org/4460

  9. Anonymous commented and changed status New Resolved done 0 % 100 % 08/24/11, 22:30

    Applied in changeset commit:61b89cdd94ab2cadcc94e4f47c72eb424518a040.

  10. Riccardo De Contardi changed status Resolved Closed 10/24/17, 20:18