From 3136d5ff772738909bc1428dfb28aab1f512594e Mon Sep 17 00:00:00 2001 From: noackorama <noackorama@gmail.com> Date: Sun, 12 Jul 2015 11:27:30 +0200 Subject: [PATCH] fixing release date --- views/presenting/overview_list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/presenting/overview_list.php b/views/presenting/overview_list.php index feb38b6..6287307 100644 --- a/views/presenting/overview_list.php +++ b/views/presenting/overview_list.php @@ -32,8 +32,8 @@ <td> <?= htmlReady($marketplugin->uses->count()) ?> </td> - <td data-sorter="<?= $marketplugin->releases->orderBy('chdate DESC')->first()->chdate ?>"> - <?= strftime('%x', $marketplugin->releases->orderBy('chdate DESC')->first()->chdate) ?> + <td data-sorter="<?= $marketplugin->releases->orderBy('chdate DESC')->val('mkdate') ?>"> + <?= strftime('%x', $marketplugin->releases->orderBy('chdate DESC')->val('mkdate')) ?> </td> <td> <?= htmlReady($marketplugin->getDownloads()) ?> -- GitLab