Skip to content

Commit b7dce0e

Browse files
committed
MC-32278: Position sort does not work in GraphQl.
- fix more attributes
1 parent 190e051 commit b7dce0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Eav/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ private function addFilterGroupToCollection(
6565
) {
6666
$fields = [];
6767
foreach ($filterGroup->getFilters() as $filter) {
68-
if ($filter->getField() != 'search_term' && $filter->getField() != 'price_dynamic_algorithm') {
68+
if ($filter->getField() != 'search_term'
69+
&& $filter->getField() != 'price_dynamic_algorithm'
70+
&& $filter->getField() != 'price.to'
71+
&& $filter->getField() != 'price.from') {
6972
$isApplied = false;
7073
$customFilter = $this->getCustomFilterForField($filter->getField());
7174
if ($customFilter) {

0 commit comments

Comments
 (0)