aboutsummaryrefslogtreecommitdiff
path: root/www/new.php
diff options
context:
space:
mode:
authorJustin J. Novack <jnovack@gmail.com>2012-09-30 17:43:58 -0400
committerJustin J. Novack <jnovack@gmail.com>2012-10-01 17:21:56 -0400
commitd5901a1fcc8b79f9a23bd3888ef2f281f07b9459 (patch)
treeb306fba401eadd70e3c042f6c0c935e08cc0c16c /www/new.php
parent8d29b8e073c9a3795ad7ededf4cb5e8683102162 (diff)
downloadphorkie-d5901a1fcc8b79f9a23bd3888ef2f281f07b9459.tar.gz
phorkie-d5901a1fcc8b79f9a23bd3888ef2f281f07b9459.zip
Use commit timestamps for ElasticSearch and sort on last commit time.
Diffstat (limited to 'www/new.php')
-rw-r--r--www/new.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/new.php b/www/new.php
index 7a70891..965f534 100644
--- a/www/new.php
+++ b/www/new.php
@@ -28,7 +28,7 @@ render(
'files' => $phork,
'description' => '',
'htmlhelper' => new HtmlHelper(),
- 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'),
+ 'recents' => $db->getSearch()->listAll(0, 5, 'modate', 'desc'),
'dh' => new \Date_HumanDiff(),
)
);