| @@ 160-162 (lines=3) @@ | ||
| 157 | break; |
|
| 158 | case 'price': |
|
| 159 | $colName = Item\Offer\Price::colPrefix() . 'price'; |
|
| 160 | if (!empty($filter['min'])) { |
|
| 161 | $selectOptions['where'][] = [$colName, (float) $filter['min'], '>=']; |
|
| 162 | } |
|
| 163 | if (!empty($filter['max'])) { |
|
| 164 | $selectOptions['where'][] = [$colName, (float) $filter['max'], '<=']; |
|
| 165 | } |
|
| @@ 163-165 (lines=3) @@ | ||
| 160 | if (!empty($filter['min'])) { |
|
| 161 | $selectOptions['where'][] = [$colName, (float) $filter['min'], '>=']; |
|
| 162 | } |
|
| 163 | if (!empty($filter['max'])) { |
|
| 164 | $selectOptions['where'][] = [$colName, (float) $filter['max'], '<=']; |
|
| 165 | } |
|
| 166 | break; |
|
| 167 | case 'options': |
|
| 168 | case 'offerOptions': |
|