[BUGFIX] Fix Livesearch for Editors 19/48519/2
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:56:09 +0000 (21:56 +0200)
commit452acbd1dc84ef93442d657492a0aea1f9da5d3c
treed76a2ad0ab3364b81a9c0614568fe26ab93942ed
parentdce3f96fd558f84db4ed8e48627885036f0ea967
[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/48519
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/RecordList.php