Manybubbles has uploaded a new change for review.

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

Change subject: Fix mistaken name
......................................................................

Fix mistaken name

Change-Id: Id0eaef59b0987ae885756a0c55e2190e4d0aca21
---
M includes/Search/ResultsType.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/54/169554/1

diff --git a/includes/Search/ResultsType.php b/includes/Search/ResultsType.php
index 0513792..b0b29aa 100644
--- a/includes/Search/ResultsType.php
+++ b/includes/Search/ResultsType.php
@@ -159,7 +159,7 @@
                        if ( isset( $highlights[ 
"redirect.title.$this->matchedAnalyzer" ] ) ) {
                                $redirectHighlights = $highlights[ 
"redirect.title.$this->matchedAnalyzer" ];
                        }
-                       if ( isset( $highlights[ 
"redirect.title.$this->matchedAnalyzer" ] ) ) {
+                       if ( isset( $highlights[ 
"redirect.title.{$this->matchedAnalyzer}_asciifolding" ] ) ) {
                                $redirectHighlights = array_merge( 
$redirectHighlights,
                                        $highlights[ 
"redirect.title.{$this->matchedAnalyzer}_asciifolding" ] );
                        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0eaef59b0987ae885756a0c55e2190e4d0aca21
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>

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

Reply via email to