Yurik has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/199615

Change subject: Fixed lspnamespace param bug for list=listpages
......................................................................

Fixed lspnamespace param bug for list=listpages

Thanks Anomie for catching that

Change-Id: I422a147501f2410f2f217b783c91031476bda330
---
M includes/api/ApiQueryListPages.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/15/199615/1

diff --git a/includes/api/ApiQueryListPages.php 
b/includes/api/ApiQueryListPages.php
index ad12fc0..767c031 100644
--- a/includes/api/ApiQueryListPages.php
+++ b/includes/api/ApiQueryListPages.php
@@ -131,7 +131,7 @@
                $this->addTables( 'gather_list_item' );
                $this->addFields( array( 'gli_namespace', 'gli_title', 
'gli_order' ) );
                $this->addWhereFld( 'gli_gl_id', $params['id'] );
-               $this->addWhereFld( 'wl_namespace', $params['namespace'] );
+               $this->addWhereFld( 'gli_namespace', $params['namespace'] );
 
                if ( isset( $params['continue'] ) ) {
                        $cont = $params['continue'];

-- 
To view, visit https://gerrit.wikimedia.org/r/199615
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I422a147501f2410f2f217b783c91031476bda330
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to