Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

show last years worth of posts.

  • Loading branch information...
commit 751bb8f7dcfd7c105a4aa831b7e5236e61b217fb 1 parent 8c503eb
@gwoo gwoo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  controllers/SearchController.php
View
2  controllers/SearchController.php
@@ -102,7 +102,7 @@ public function latest() {
$page = $this->request->params['page'];
}
- $start = strtotime("last month");
+ $start = strtotime("last year");
$end = time();
$created = array(
'$gte' => new \MongoDate($start),
Please sign in to comment.
Something went wrong with that request. Please try again.