[BUGFIX] Only show search on non-empty pages 90/45090/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 2 Dec 2015 14:45:58 +0000 (15:45 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 3 Dec 2015 23:23:57 +0000 (00:23 +0100)
commitdf2160c0c850558ec54816625b6d2f65862a25ad
tree8f778736edcabeb2696a276086af639b836f6590
parentf0f1d0b8589300d4e22bdaf0cb71aa6c0a895618
[BUGFIX] Only show search on non-empty pages

If a page has neither content nor subpages, do not show the search button
in the backend.

Resolves: #72027
Releases: master
Change-Id: Iff2657a203f25123c288ea48e6fc553483bdd254
Reviewed-on: https://review.typo3.org/45090
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/recordlist/Classes/RecordList.php