|
|
@ -66,6 +66,7 @@ class RoblibSearchSolrsiteController extends ControllerBase { |
|
|
|
$query->keys($queryString); |
|
|
|
$query->keys($queryString); |
|
|
|
if ($solr_type == 'BestBet') { |
|
|
|
if ($solr_type == 'BestBet') { |
|
|
|
$query->addCondition('type', 'bestbet', '='); |
|
|
|
$query->addCondition('type', 'bestbet', '='); |
|
|
|
|
|
|
|
$query->setFulltextFields(['title_1']); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$query->addCondition('type', 'bestbet', '<>'); |
|
|
|
$query->addCondition('type', 'bestbet', '<>'); |
|
|
|
} |
|
|
|
} |
|
|
|