Skip to content

Commit

Permalink
[com_menus] - wrong group by when multilanguages enabled - postgresql
Browse files Browse the repository at this point in the history
Pull Request for fix regression from #12051 .

Summary of Changes

fixed wrong group by when multilanguages enabled

Testing Instructions

latest staging fresh multilanguage install

Go to Menu -> All menu items
  • Loading branch information
alikon committed Nov 24, 2016
1 parent f94086d commit 4dd07e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_menus/models/items.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ protected function getListQuery()
$query->select('COUNT(asso2.id)>1 as association')
->join('LEFT', '#__associations AS asso ON asso.id = a.id AND asso.context=' . $db->quote('com_menus.item'))
->join('LEFT', '#__associations AS asso2 ON asso2.key = asso.key')
->group('a.id, e.enabled, l.title, l.image, u.name, c.element, ag.title, e.name, mt.id, mt.title');
->group('a.id, e.enabled, l.title, l.image, u.name, c.element, ag.title, e.name, mt.id, mt.title, l.sef');
}

// Join over the extensions
Expand Down

0 comments on commit 4dd07e3

Please sign in to comment.