[BUGFIX] Fix Livesearch for Editors 38/48438/4
authorMarcus Schwemer <ms@schwemer.de>
Fri, 3 Jun 2016 09:41:14 +0000 (11:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 8 Jun 2016 19:35:53 +0000 (21:35 +0200)
commit93e865cb55e7a6fa26ea40dd2e08e5bd62a0efd4
tree417525541f4bd01123a7179fb717ee1ec2d82d02
parent704c7a6e80669fc6c2cf9ad4c30f8a66f443e552
[BUGFIX] Fix Livesearch for Editors

Fix searchlevel comparision for editors using pageUID "0" in livesearch,
because "-1" is also a valid searchlevel.

Resolves: #76432
Releases: master, 7.6
Change-Id: I62a2059a7c7f8cf602e452bc0763c6c2cc3fbbe8
Reviewed-on: https://review.typo3.org/48438
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Dominique Kreemers <dominique.kreemers@icloud.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/RecordList.php