r88472 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88471‎ | r88472 | r88473 >
Date:18:18, 20 May 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
distinct select, don't want duplicate results in watchlist
Modified paths:
  • /trunk/extensions/SemanticWatchlist/api/ApiQuerySemanticWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWatchlist/api/ApiQuerySemanticWatchlist.php
@@ -83,6 +83,7 @@
8484 'upg_user_id' => $userId
8585 ) );
8686
 87+ $this->addOption( 'DISTINCT' );
8788 $this->addOption( 'LIMIT', $limit + 1 );
8889 $this->addOption( 'ORDER BY', 'set_time DESC, set_id DESC' );
8990

Status & tagging log