diff --git a/src/components/Search/index.tsx b/src/components/Search/index.tsx index 7674500a8f1d..3a1f88aad2a9 100644 --- a/src/components/Search/index.tsx +++ b/src/components/Search/index.tsx @@ -407,7 +407,7 @@ function Search({queryJSON, onSearchListScroll, isSearchScreenFocused, contentCo }; const shouldShowYear = SearchUIUtils.shouldShowYear(searchResults?.data); - const shouldShowSorting = Array.isArray(status) ? status.some((s) => sortableSearchStatuses.includes(s)) : sortableSearchStatuses.includes(status); + const shouldShowSorting = !Array.isArray(status) && sortableSearchStatuses.includes(status); return (