diff --git a/src/app/modules/components/search.module.tsx b/src/app/modules/components/search.module.tsx index 6b56d8e..4c13fd6 100644 --- a/src/app/modules/components/search.module.tsx +++ b/src/app/modules/components/search.module.tsx @@ -20,8 +20,8 @@ const options: readonly { value: number, label: String }[] = [ ]; const options_sortir: readonly { value: string, label: String }[] = [ - { value: 'popular_up', label: 'По популярности' }, { value: 'relevant_up', label: 'По релевантности' }, + { value: 'popular_up', label: 'По популярности' }, { value: 'date_up', label: 'По дате создания' }, { value: 'name_up', label: 'По имени' } ]; diff --git a/src/app/workshop/page.tsx b/src/app/workshop/page.tsx index 94f7057..551b7cd 100644 --- a/src/app/workshop/page.tsx +++ b/src/app/workshop/page.tsx @@ -33,7 +33,7 @@ export default function Home() { const [categories, setCategories] = useState([]); const [filters, setFilters] = useState([]); - const [sort, setSort] = useState('popular_up'); + const [sort, setSort] = useState('relevant_up'); const [alertShown, setAlertShown] = useState(false);