| @@ 215-219 (lines=5) @@ | ||
| 212 | $condition = $filter->getCondition(); |
|
| 213 | $values = $condition[$filter->getColumn()]; |
|
| 214 | ||
| 215 | if ($values['from'] !== NULL && $values['from'] !== '') { |
|
| 216 | if ($values['from'] > $row[$filter->getColumn()]) { |
|
| 217 | return FALSE; |
|
| 218 | } |
|
| 219 | } |
|
| 220 | ||
| 221 | if ($values['to'] !== NULL && $values['to'] !== '') { |
|
| 222 | if ($values['to'] < $row[$filter->getColumn()]) { |
|
| @@ 221-225 (lines=5) @@ | ||
| 218 | } |
|
| 219 | } |
|
| 220 | ||
| 221 | if ($values['to'] !== NULL && $values['to'] !== '') { |
|
| 222 | if ($values['to'] < $row[$filter->getColumn()]) { |
|
| 223 | return FALSE; |
|
| 224 | } |
|
| 225 | } |
|
| 226 | ||
| 227 | return TRUE; |
|
| 228 | } |
|