mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +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(),
|
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 ) {
|
||||||
|
|
Loading…
Reference in a new issue