|
@@ 576-579 (lines=4) @@
|
| 573 |
|
} |
| 574 |
|
} |
| 575 |
|
|
| 576 |
|
if ( isset( $options['from'] ) ) { |
| 577 |
|
$op = $options['sort'] === self::SORT_ASC ? '>' : '<'; |
| 578 |
|
$conds[] = $this->getFromUntilTargetConds( $db, $options['from'], $op ); |
| 579 |
|
} |
| 580 |
|
if ( isset( $options['until'] ) ) { |
| 581 |
|
$op = $options['sort'] === self::SORT_ASC ? '<' : '>'; |
| 582 |
|
$conds[] = $this->getFromUntilTargetConds( $db, $options['until'], $op ); |
|
@@ 580-583 (lines=4) @@
|
| 577 |
|
$op = $options['sort'] === self::SORT_ASC ? '>' : '<'; |
| 578 |
|
$conds[] = $this->getFromUntilTargetConds( $db, $options['from'], $op ); |
| 579 |
|
} |
| 580 |
|
if ( isset( $options['until'] ) ) { |
| 581 |
|
$op = $options['sort'] === self::SORT_ASC ? '<' : '>'; |
| 582 |
|
$conds[] = $this->getFromUntilTargetConds( $db, $options['until'], $op ); |
| 583 |
|
} |
| 584 |
|
if ( isset( $options['startFrom'] ) ) { |
| 585 |
|
$op = $options['sort'] === self::SORT_ASC ? '>' : '<'; |
| 586 |
|
$conds[] = $this->getFromUntilTargetConds( $db, $options['startFrom'], $op ); |
|
@@ 584-587 (lines=4) @@
|
| 581 |
|
$op = $options['sort'] === self::SORT_ASC ? '<' : '>'; |
| 582 |
|
$conds[] = $this->getFromUntilTargetConds( $db, $options['until'], $op ); |
| 583 |
|
} |
| 584 |
|
if ( isset( $options['startFrom'] ) ) { |
| 585 |
|
$op = $options['sort'] === self::SORT_ASC ? '>' : '<'; |
| 586 |
|
$conds[] = $this->getFromUntilTargetConds( $db, $options['startFrom'], $op ); |
| 587 |
|
} |
| 588 |
|
|
| 589 |
|
return $conds; |
| 590 |
|
} |