Switch group collection view back to newest sorting.

This commit is contained in:
Fosco Marotto 2021-02-04 23:57:03 -05:00
parent fdca30cd97
commit 5b89095a55
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class Api::V1::Timelines::GroupCollectionController < Api::BaseController
private private
def set_sort_type def set_sort_type
@sort_type = 'hot' @sort_type = 'newest'
@sort_type = params[:sort_by] if [ @sort_type = params[:sort_by] if [
'hot', 'hot',
'newest', 'newest',