Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Commit

Permalink
Make sure Yes/No attribute Layered Navigation filter will be joined f…
Browse files Browse the repository at this point in the history
…rom index table
  • Loading branch information
stkec committed Mar 15, 2019
1 parent f3d7a0d commit dc3bdb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private function processQueryWithField(FilterInterface $filter, $isNegation, $qu
} elseif ($filter->getField() === VisibilityFilter::VISIBILITY_FILTER_FIELD) {
return '';
} elseif ($filter->getType() === FilterInterface::TYPE_TERM &&
in_array($attribute->getFrontendInput(), ['select', 'multiselect'], true)
in_array($attribute->getFrontendInput(), ['select', 'multiselect', 'boolean'], true)
) {
$resultQuery = $this->processTermSelect($filter, $isNegation);
} elseif ($filter->getType() === FilterInterface::TYPE_RANGE &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function isCustom(FilterInterface $filter)

return $attribute
&& $filter->getType() === FilterInterface::TYPE_TERM
&& in_array($attribute->getFrontendInput(), ['select', 'multiselect'], true);
&& in_array($attribute->getFrontendInput(), ['select', 'multiselect', 'boolean'], true);
}

/**
Expand Down

0 comments on commit dc3bdb8

Please sign in to comment.