Skip to content

Commit

Permalink
[TASK] show only filters in default language in the backend plugin co…
Browse files Browse the repository at this point in the history
…nfiguration. Editors should only be able to select the records in the default language since translation is done in the frontend rendering.
  • Loading branch information
christianbltr committed Oct 12, 2016
1 parent 4c6493a commit 025bfd7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Classes/Backend/class.user_filterlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ function getListOfAvailableFiltersForFlexforms(&$config) {
$count = $GLOBALS['TYPO3_DB']->sql_num_rows($res);
if ($count) {
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$config['items'][] = array($row['title'], $row['uid']);
if (!$row['l10n_parent'])
{
$config['items'][] = array($row['title'], $row['uid']);
}
}
}
}
Expand Down

0 comments on commit 025bfd7

Please sign in to comment.