Skip to content

Commit

Permalink
[BUGFIX] Show tables with same label in recycler
Browse files Browse the repository at this point in the history
In order to show all tables in the recycler record selection even though
the label is the same, the table name must be used as part of the
identifier.

Resolves: #84505
Releases: master, 8.7
Change-Id: I952a94182fde1e052071bb45d065910f4cd73086
Reviewed-on: https://review.typo3.org/56403
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
  • Loading branch information
georgringer authored and liayn committed Mar 21, 2018
1 parent 00b134a commit 0c90a6e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -74,7 +74,7 @@ protected function getTcaSelectHtml($selectedTables = [])
if (!$tableConf['ctrl']['adminOnly'] && !empty($tableConf['ctrl']['delete'])) {
$selected = in_array($table, $selectedTables, true) ? ' selected="selected"' : '';
$tableTitle = $this->getLanguageService()->sL($tableConf['ctrl']['title']);
$options[$tableTitle] = '<option' . $selected . ' value="' . $table . '">' . htmlspecialchars($tableTitle . ' (' . $table . ')') . '</option>';
$options[$tableTitle . ' ' . $table] = '<option' . $selected . ' value="' . $table . '">' . htmlspecialchars($tableTitle . ' (' . $table . ')') . '</option>';
}
}
ksort($options);
Expand Down

0 comments on commit 0c90a6e

Please sign in to comment.