mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "EchoEventMapper: use DISTINCT instead of GROUP BY"
This commit is contained in:
commit
20420275fa
|
@ -117,7 +117,7 @@ class EchoEventMapper extends EchoAbstractMapper {
|
|||
EchoEvent::selectFields(),
|
||||
$conds,
|
||||
__METHOD__,
|
||||
[ 'GROUP BY' => 'etp_event' ],
|
||||
[ 'DISTINCT' ],
|
||||
[ 'echo_target_page' => [ 'INNER JOIN', 'event_id=etp_event' ] ]
|
||||
);
|
||||
if ( $res ) {
|
||||
|
|
Loading…
Reference in a new issue