[TASK] Cleanup ext:indexed_search web_info module routing 79/27479/5
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 8 Feb 2014 18:23:43 +0000 (19:23 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 10 Feb 2014 11:08:58 +0000 (12:08 +0100)
The function menu of info module API method can create
proper link targets without mentioning index.php. The
patch is a preparation for switching the entry point
of info module to mod.php.

Resolves: #55796
Relates: #55672
Change-Id: Ida807864ea8d75a2737313c88d8f89b37bb816b6
Reviewed-on: https://review.typo3.org/27479
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/indexed_search/Classes/Controller/IndexedPagesController.php

index 19eab6d..b2d60d6 100644 (file)
@@ -73,6 +73,11 @@ class IndexedPagesController extends \TYPO3\CMS\Backend\Module\AbstractFunctionM
        public $indexerObj;
 
        /**
+        * @int Default number of list entries per page
+        */
+       protected $maxListPerPage;
+
+       /**
         * Initialize menu array internally
         *
         * @return      void
@@ -164,8 +169,8 @@ class IndexedPagesController extends \TYPO3\CMS\Backend\Module\AbstractFunctionM
                } else {
                        // Detail listings:
                        // Depth function menu:
-                       $h_func = BackendUtility::getFuncMenu($this->pObj->id, 'SET[type]', $this->pObj->MOD_SETTINGS['type'], $this->pObj->MOD_MENU['type'], 'index.php');
-                       $h_func .= BackendUtility::getFuncMenu($this->pObj->id, 'SET[depth]', $this->pObj->MOD_SETTINGS['depth'], $this->pObj->MOD_MENU['depth'], 'index.php');
+                       $h_func = BackendUtility::getFuncMenu($this->pObj->id, 'SET[type]', $this->pObj->MOD_SETTINGS['type'], $this->pObj->MOD_MENU['type']);
+                       $h_func .= BackendUtility::getFuncMenu($this->pObj->id, 'SET[depth]', $this->pObj->MOD_SETTINGS['depth'], $this->pObj->MOD_MENU['depth']);
                        // Show title / function menu:
                        $theOutput .= $this->pObj->doc->header($LANG->getLL('title'));
                        $theOutput .= $this->pObj->doc->section('', $h_func, 0, 1);