Skip to content

Commit

Permalink
[BUGFIX] Check for pages in extended TCA for sys_category
Browse files Browse the repository at this point in the history
Add the necessary `MM_match_fields` configuration to the extended TCA of
sys_category to fetch the correct relations.
  • Loading branch information
alexkue authored and andreaskienast committed Jan 9, 2021
1 parent ca71e11 commit f458dd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Configuration/TCA/Overrides/sys_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@
'allowed' => 'pages',
'foreign_table' => 'pages',
'MM' => 'sys_category_record_mm',
'MM_match_fields' => [
'fieldname' => 'categories',
'tablenames' => 'pages',
],
'maxitems' => 1000
],
],
Expand Down

0 comments on commit f458dd4

Please sign in to comment.