|
@@ 345-349 (lines=5) @@
|
| 342 |
|
protected function getConditions(\Xhgui_Storage_Filter $filter) |
| 343 |
|
{ |
| 344 |
|
$conditions = []; |
| 345 |
|
if (null !== $filter->getStartDate()) { |
| 346 |
|
$conditions['meta.request_ts']['$gte'] = new \MongoDate( |
| 347 |
|
$this->getDateTimeFromString($filter->getStartDate(), 'start')->format('U') |
| 348 |
|
); |
| 349 |
|
} |
| 350 |
|
|
| 351 |
|
if (null !== $filter->getEndDate()) { |
| 352 |
|
$conditions['meta.request_ts']['$lte'] = new \MongoDate( |
|
@@ 351-355 (lines=5) @@
|
| 348 |
|
); |
| 349 |
|
} |
| 350 |
|
|
| 351 |
|
if (null !== $filter->getEndDate()) { |
| 352 |
|
$conditions['meta.request_ts']['$lte'] = new \MongoDate( |
| 353 |
|
$this->getDateTimeFromString($filter->getEndDate(), 'end')->format('U') |
| 354 |
|
); |
| 355 |
|
} |
| 356 |
|
|
| 357 |
|
if (null !== $filter->getUrl()) { |
| 358 |
|
$conditions['meta.simple_url'] = $filter->getUrl(); |