Merge "EchoEventMapper: use DISTINCT instead of GROUP BY"

This commit is contained in:
jenkins-bot 2021-04-30 08:09:22 +00:00 committed by Gerrit Code Review
commit 20420275fa

View file

@ -117,7 +117,7 @@ class EchoEventMapper extends EchoAbstractMapper {
EchoEvent::selectFields(), EchoEvent::selectFields(),
$conds, $conds,
__METHOD__, __METHOD__,
[ 'GROUP BY' => 'etp_event' ], [ 'DISTINCT' ],
[ 'echo_target_page' => [ 'INNER JOIN', 'event_id=etp_event' ] ] [ 'echo_target_page' => [ 'INNER JOIN', 'event_id=etp_event' ] ]
); );
if ( $res ) { if ( $res ) {