From e1347347d0f362f21f8e86bec52a8abed4bbf7c1 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 7 Aug 2020 17:28:10 -0500 Subject: [PATCH] Updated group_lists sort values default to newest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - group_lists sort values default to newest --- app/javascript/gabsocial/reducers/group_lists.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/javascript/gabsocial/reducers/group_lists.js b/app/javascript/gabsocial/reducers/group_lists.js index fad8789a..d97d72e9 100644 --- a/app/javascript/gabsocial/reducers/group_lists.js +++ b/app/javascript/gabsocial/reducers/group_lists.js @@ -9,14 +9,15 @@ import { } from '../actions/groups' import { GROUP_TIMELINE_SORTING_TYPE_TOP, + GROUP_TIMELINE_SORTING_TYPE_NEWEST, GROUP_TIMELINE_SORTING_TYPE_TOP_OPTION_TODAY, } from '../constants' const tabs = ['new', 'featured', 'member', 'admin'] const initialState = ImmutableMap({ - sortByValue: GROUP_TIMELINE_SORTING_TYPE_TOP, - sortByTopValue: GROUP_TIMELINE_SORTING_TYPE_TOP_OPTION_TODAY, + sortByValue: GROUP_TIMELINE_SORTING_TYPE_NEWEST, + sortByTopValue: '', new: ImmutableMap({ isFetched: false, isLoading: false,