@@ 169-171 (lines=3) @@ | ||
166 | break; |
|
167 | case 'price': |
|
168 | $colName = Item\Offer\Price::colPrefix() . 'price'; |
|
169 | if (!empty($filter['min'])) { |
|
170 | $selectOptions['where'][] = [$colName, (float) $filter['min'], '>=']; |
|
171 | } |
|
172 | if (!empty($filter['max'])) { |
|
173 | $selectOptions['where'][] = [$colName, (float) $filter['max'], '<=']; |
|
174 | } |
|
@@ 172-174 (lines=3) @@ | ||
169 | if (!empty($filter['min'])) { |
|
170 | $selectOptions['where'][] = [$colName, (float) $filter['min'], '>=']; |
|
171 | } |
|
172 | if (!empty($filter['max'])) { |
|
173 | $selectOptions['where'][] = [$colName, (float) $filter['max'], '<=']; |
|
174 | } |
|
175 | break; |
|
176 | case 'options': |
|
177 | case 'offerOptions': |