Fz-29 has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/379298 )
Change subject: Fix error in WITHIN query, due to change 374400 ...................................................................... Fix error in WITHIN query, due to change 374400 Change-Id: I7d5bd5ab6f82e8f4a48ab626d19d7fb7e0ae7758 --- M CargoSQLQuery.php 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cargo refs/changes/98/379298/1 diff --git a/CargoSQLQuery.php b/CargoSQLQuery.php index 88e89a0..daf08ff 100644 --- a/CargoSQLQuery.php +++ b/CargoSQLQuery.php @@ -1187,8 +1187,10 @@ $newWhere = " " . $fieldName . " IN " . $subquery; } + $fullExpression = null; if ( $completeMatch ) { - $this->substVirtualFieldName( $this->mWhereStr, $completeSearchPattern, $newWhere, $fieldReplaced); + $this->substVirtualFieldName( $this->mWhereStr, $completeSearchPattern, $newWhere, $fieldReplaced, + $fullExpression ); $this->mWhereStr = preg_replace( $completeSearchPattern, $newWhere, $this->mWhereStr ); } -- To view, visit https://gerrit.wikimedia.org/r/379298 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7d5bd5ab6f82e8f4a48ab626d19d7fb7e0ae7758 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Cargo Gerrit-Branch: master Gerrit-Owner: Fz-29 <f29ah...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits