From cbbf51d09e0fa02ff47bb378119f78e844b0b824 Mon Sep 17 00:00:00 2001 From: Archit Adish Gupta Date: Thu, 6 Aug 2026 02:41:02 +0530 Subject: [PATCH] fix(filters): remove redundant sort options and rename for consistency (closes #140) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Drop duplicate/confusing date labels - Standardize labels: Date (Newest First), Date (Oldest First), Popularity (Most Booked), Name (A–Z), Name (Z–A) --- components/SearchFilters.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/SearchFilters.tsx b/components/SearchFilters.tsx index fd99e6e..9b4108b 100644 --- a/components/SearchFilters.tsx +++ b/components/SearchFilters.tsx @@ -10,8 +10,8 @@ const MODES = ["All", "Online", "Offline", "Hybrid"]; const POPULAR_TAGS = ["All", "Hackathon", "Meetup", "Web3", "React", "DevOps", "AI"]; const SORT_OPTIONS = [ - { label: "Date (Latest First)", value: "" }, - { label: "Date (Earliest First)", value: "date_asc" }, + { label: "Date (Newest First)", value: "" }, + { label: "Date (Oldest First)", value: "date_asc" }, { label: "Popularity (Most Booked)", value: "popularity" }, { label: "Name (A–Z)", value: "name_asc" }, { label: "Name (Z–A)", value: "name_desc" },