Closed Ryp007 closed 7 years ago
In class ProductService extends AbstractService implements ProductServiceInterface public function getBySearch($phrase, $category = '', $facets = 'off', $facetFilter = '', $facetRange = '', $start = 1, $limit = self::DEFAULT_PAGE_SIZE, $sortField = self::DEFAULT_SORT_FIELD, $sortOrder = self::DEFAULT_SORT_ORDER)
if ($facets == 'on' && $facetFilter !== '') { $constraints['facet.filter'] = $facetFilter; if ($facetRange !== '') { $constraints['facet.range'] = $facetRange; } }
Should be replaced with
if ($facets == 'on' ) { if( $facetFilter !== '') $constraints['facet.filter'] = $facetFilter; if ($facetRange !== '') { $constraints['facet.range'] = $facetRange; }
Is this project not supported?
@Lomaster it is supported 😈 A fix is on the way! 💃
In class ProductService extends AbstractService implements ProductServiceInterface public function getBySearch($phrase, $category = '', $facets = 'off', $facetFilter = '', $facetRange = '', $start = 1, $limit = self::DEFAULT_PAGE_SIZE, $sortField = self::DEFAULT_SORT_FIELD, $sortOrder = self::DEFAULT_SORT_ORDER)
Should be replaced with