mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Select proper db fields in AbuseFilterExaminePager
It queried the 'recentchanges' table with the fields from the 'revision' table. Bug: T175338 Change-Id: Ib232e49e3f59285c7f66cdb48c51fe4c97b53e15
This commit is contained in:
parent
3f4ba191f6
commit
3efdc518da
|
@ -248,7 +248,7 @@ class AbuseFilterExaminePager extends ReverseChronologicalPager {
|
|||
|
||||
$info = [
|
||||
'tables' => 'recentchanges',
|
||||
'fields' => Revision::selectFields(),
|
||||
'fields' => RecentChange::selectFields(),
|
||||
'conds' => array_filter( $conds ),
|
||||
'options' => [ 'ORDER BY' => 'rc_timestamp DESC' ],
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue