Fix sort order on Oldest First, default subs to all

This commit is contained in:
Jackson Harper 2023-09-01 12:27:06 +08:00
parent f6bfdf6a93
commit a9729e06c0
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ function SavedSearches(props: LibraryFilterMenuProps): JSX.Element {
},
{
name: 'Oldest First',
term: 'sort:saved-desc',
term: 'sort:saved-asc',
},
{
name: 'Files',

View file

@ -39,7 +39,7 @@ type SubscriptionsData = {
}
export function useGetSubscriptionsQuery(
type: SubscriptionType | undefined,
type: SubscriptionType | undefined = undefined,
sortBy = 'UPDATED_TIME'
): SubscriptionsQueryResponse {
const query = gql`