Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php |
— | — | @@ -84,8 +84,8 @@ |
85 | 85 | if ( is_null( $resultPageSet ) ) { |
86 | 86 | $this->addFields( array( 'cl_from', 'page_namespace', 'page_title' ) ); |
87 | 87 | $this->addFieldsIf( 'page_id', $fld_ids ); |
88 | | - $this->addFieldsIf( 'cl_sortkey_prefix', $fld_sortkeyprefix ); |
89 | | - $this->addFieldsIf( 'cl_sortkey', $fld_sortkey ); |
| 88 | + $this->addFieldsIf( 'cl_sortkey_prefix', $fld_sortkeyprefix ); |
| 89 | + $this->addFieldsIf( 'cl_sortkey', $fld_sortkey ); |
90 | 90 | } else { |
91 | 91 | $this->addFields( $resultPageSet->getPageTableFields() ); // will include page_ id, ns, title |
92 | 92 | $this->addFields( array( 'cl_from', 'cl_sortkey' ) ); |