From b2964205a42d1d223be2670cd8924135f163668e Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Sat, 3 Aug 2019 16:45:18 +0800 Subject: [PATCH] updated_at --- public/react/src/modules/forums/PostPaginationHOC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/modules/forums/PostPaginationHOC.js b/public/react/src/modules/forums/PostPaginationHOC.js index 243cffeab..9105be1ac 100644 --- a/public/react/src/modules/forums/PostPaginationHOC.js +++ b/public/react/src/modules/forums/PostPaginationHOC.js @@ -126,7 +126,7 @@ return function wrap(WrappedComponent) { } const orderTypeMap = { 'hottest': 'replies_count', - 'newest': 'created_at', // 'created_at', + 'newest': 'updated_at', // 'created_at', } const _search = this.props.history.location.search; const parsed = queryString.parse(_search);