r49079 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49078‎ | r49079 | r49080 >
Date:15:24, 31 March 2009
Author:catrope
Status:ok
Tags:
Comment:
AbuseFilter: Update API module for r49057
Modified paths:
  • /trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php
@@ -73,7 +73,8 @@
7474 if($fld_filter) {
7575 $this->addTables('abuse_filter');
7676 $this->addFields('af_public_comments');
77 - $this->addWhere('afl_filter=af_id');
 77+ $this->addJoinConds(array('abuse_filter' => array('LEFT JOIN',
 78+ 'af_id=afl_filter')));
7879 }
7980
8081 $this->addOption('LIMIT', $params['limit'] + 1);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49057Change join on abuse_filter to a LEFT JOIN to fix details view for matches on...werdna04:00, 31 March 2009

Status & tagging log