From 37917bf2c8b989722eb2303ce459b5902d06cca8 Mon Sep 17 00:00:00 2001 From: young Date: Thu, 26 Nov 2015 02:03:00 +0800 Subject: [PATCH] Fix #627 --- framework/core/js/forum/src/components/DiscussionList.js | 2 +- framework/core/src/Forum/Controller/IndexController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/js/forum/src/components/DiscussionList.js b/framework/core/js/forum/src/components/DiscussionList.js index 7557faec3..35c5d2968 100644 --- a/framework/core/js/forum/src/components/DiscussionList.js +++ b/framework/core/js/forum/src/components/DiscussionList.js @@ -115,7 +115,7 @@ export default class DiscussionList extends Component { map.latest = '-lastTime'; map.top = '-commentsCount'; map.newest = '-startTime'; - map.oldest = '+startTime'; + map.oldest = 'startTime'; return map; } diff --git a/framework/core/src/Forum/Controller/IndexController.php b/framework/core/src/Forum/Controller/IndexController.php index 5214ab8cc..28f445e5e 100644 --- a/framework/core/src/Forum/Controller/IndexController.php +++ b/framework/core/src/Forum/Controller/IndexController.php @@ -24,7 +24,7 @@ class IndexController extends ClientController 'latest' => '-lastTime', 'top' => '-commentsCount', 'newest' => '-startTime', - 'oldest' => '+startTime' + 'oldest' => 'startTime' ]; /**