@@ -298,7 +298,8 @@ discard block |
||
298 | 298 | ]; |
299 | 299 | } |
300 | 300 | } |
301 | - } else { |
|
301 | + } |
|
302 | + else { |
|
302 | 303 | $terms[] = [ |
303 | 304 | 'type' => 'term', |
304 | 305 | 'fields' => $fields, |
@@ -329,7 +330,8 @@ discard block |
||
329 | 330 | if ($value !== null) { |
330 | 331 | if ($subres[RELOP] == RELOP_LT || $subres[RELOP] == RELOP_LE) { |
331 | 332 | $filters['date_end'] = $value; |
332 | - } elseif ($subres[RELOP] == RELOP_GT || $subres[RELOP] == RELOP_GE) { |
|
333 | + } |
|
334 | + elseif ($subres[RELOP] == RELOP_GT || $subres[RELOP] == RELOP_GE) { |
|
333 | 335 | $filters['date_start'] = $value; |
334 | 336 | } |
335 | 337 | } |