@@ 209-213 (lines=5) @@ | ||
206 | $condition = $filter->getCondition(); |
|
207 | $values = $condition[$filter->getColumn()]; |
|
208 | ||
209 | if ($values['from'] !== NULL && $values['from'] !== '') { |
|
210 | if ($values['from'] > $row[$filter->getColumn()]) { |
|
211 | return FALSE; |
|
212 | } |
|
213 | } |
|
214 | ||
215 | if ($values['to'] !== NULL && $values['to'] !== '') { |
|
216 | if ($values['to'] < $row[$filter->getColumn()]) { |
|
@@ 215-219 (lines=5) @@ | ||
212 | } |
|
213 | } |
|
214 | ||
215 | if ($values['to'] !== NULL && $values['to'] !== '') { |
|
216 | if ($values['to'] < $row[$filter->getColumn()]) { |
|
217 | return FALSE; |
|
218 | } |
|
219 | } |
|
220 | ||
221 | return TRUE; |
|
222 | } |