Skip to content

Commit

Permalink
Show the fields on the blog listing
Browse files Browse the repository at this point in the history
Closes joomla#108
  • Loading branch information
laoneo committed Jun 15, 2016
1 parent 397f785 commit 03e48dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/system/fields/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,10 @@ private function getParts($context)
{
// Some context mapping
// @todo needs to be done in a general lookup table on some point
$mapping = array('com_users.registration' => 'com_users.user');
$mapping = array(
'com_users.registration' => 'com_users.user',
'com_content.category' => 'com_content.article'
);
if (key_exists($context, $mapping))
{
$context = $mapping[$context];
Expand Down

0 comments on commit 03e48dc

Please sign in to comment.