Completed
Push — dev2 ( 0e4396...410e93 )
by Gordon
03:15
created
src/SilverStripe/Elastica/QueryGenerator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -355,14 +355,14 @@
 block discarded – undo
355 355
 
356 356
 		if ($textQuery instanceof MultiMatch) {
357 357
 			$elasticaFields = $this->convertWeightedFieldsForElastica($this->fields);
358
-	        $textQuery->setFields($elasticaFields);
359
-	        $textQuery->setType('most_fields');
358
+			$textQuery->setFields($elasticaFields);
359
+			$textQuery->setType('most_fields');
360 360
 
361
-	        //Setting the lenient flag means that numeric fields can be searched for text values
362
-	        $textQuery->setParam('lenient', true);
361
+			//Setting the lenient flag means that numeric fields can be searched for text values
362
+			$textQuery->setParam('lenient', true);
363 363
 		}
364 364
 
365
-        return $textQuery;
365
+		return $textQuery;
366 366
 	}
367 367
 
368 368
 
Please login to merge, or discard this patch.