Method t3lib_treeView::init() is not properly overriden in subclasses.
Change-Id: Ia39eb8ba775e1f217fb77f402dd8f2ab4e1d24ae
Fixes: #30062
Releases: 4.6
Reviewed-on: http://review.typo3.org/5089
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
* Initialize, setting what is necessary for browsing pages.
* Using the current user.
*
- * @param string Additional clause for selecting pages.
- * @return void
+ * @param string $clause Additional clause for selecting pages.
+ * @param string $orderByFields record ORDER BY field
+ * @return void
*/
- function init($clause = '') {
+ function init($clause = '', $orderByFields = '') {
// this will hide records from display - it has nothing todo with user rights!!
$clauseExludePidList = '';
* Init function
* REMEMBER to feed a $clause which will filter out non-readable pages!
*
- * @param string Part of where query which will filter out non-readable pages.
- * @return void
+ * @param string $clause Part of where query which will filter out non-readable pages.
+ * @param string $orderByFields record ORDER BY field
+ * @return void
*/
- function init($clause = '') {
+ function init($clause = '', $orderByFields = '') {
parent::init(' AND deleted=0 ' . $clause, 'sorting');
if (t3lib_extMgm::isLoaded('cms')) {