[BUGFiX] Fix BE bookmarks to Web->Page and Web->List 03/44003/4
authorFrans Saris <franssaris@gmail.com>
Mon, 12 Oct 2015 09:06:07 +0000 (11:06 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 13 Oct 2015 16:06:00 +0000 (18:06 +0200)
Resolves: #70609
Releases: master
Change-Id: I228d9b7fc84a037282ca8c9441f64aeb3339bd73
Reviewed-on: http://review.typo3.org/44003
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index 5ab9c5b..2c7fc53 100755 (executable)
@@ -1063,6 +1063,7 @@ class PageLayoutController
                 ->setModuleName($this->moduleName)
                 ->setGetVariables([
                     'id',
+                    'M',
                     'edit_record',
                     'pointer',
                     'new_unique_uid',
index 359a2ee..83d5897 100644 (file)
@@ -317,7 +317,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
             // Shortcut
             if ($backendUser->mayMakeShortcut()) {
                 $buttons['shortcut'] = $this->getDocumentTemplate()->makeShortcutIcon(
-                    'id, imagemode, pointer, table, search_field, search_levels, showLimit, sortField, sortRev',
+                    'id, M, imagemode, pointer, table, search_field, search_levels, showLimit, sortField, sortRev',
                     implode(',', array_keys($this->MOD_MENU)),
                     'web_list'
                 );
@@ -454,6 +454,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                     ->setModuleName('web_list')
                     ->setGetVariables([
                         'id',
+                        'M',
                         'imagemode',
                         'pointer',
                         'table',