jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Jdlrobson: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I422a147501f2410f2f217b783c91031476bda330
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: Robmoen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to