Skip to content
Snippets Groups Projects
Commit 2d65ba66 authored by Markus Klein's avatar Markus Klein Committed by Stefan Neufeind
Browse files

[BUGFIX] Don't show translated categories in parent tree

The parent category tree should only show categories in default
language.

Resolves: #44915
Releases: 6.2, 6.1, 6.0
Change-Id: I7920cf7ae208ba2db3bd24f7da5439824064c167
Reviewed-on: https://review.typo3.org/21626
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
parent 43e046a7
Branches
Tags
No related merge requests found
......@@ -144,7 +144,7 @@ return array(
'type' => 'select',
'renderMode' => 'tree',
'foreign_table' => 'sys_category',
'foreign_table_where' => ' ORDER BY sys_category.title ASC',
'foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1,0) ORDER BY sys_category.title ASC',
'treeConfig' => array(
'parentField' => 'parent'
)
......@@ -163,4 +163,4 @@ return array(
)
)
);
?>
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment