From 463f042f64b31d9ac1f754889bfb2f04da27b0a5 Mon Sep 17 00:00:00 2001
From: kimjaehyeon0101 <47347352-kimjaehyeon0101@users.noreply.replit.com>
Date: Mon, 29 Sep 2025 19:48:58 +0000
Subject: [PATCH] Improve organization of media outlets by adding sorting
options
Removes the global sorting dropdown and adds inline sort toggles to each media outlet category.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/YptCfK0
---
client/src/pages/AdminDashboard.tsx | 71 +++++++++++++++++------------
1 file changed, 42 insertions(+), 29 deletions(-)
diff --git a/client/src/pages/AdminDashboard.tsx b/client/src/pages/AdminDashboard.tsx
index f6043e2..bcbc204 100644
--- a/client/src/pages/AdminDashboard.tsx
+++ b/client/src/pages/AdminDashboard.tsx
@@ -176,31 +176,24 @@ export default function AdminDashboard() {
) : (
<>
-
-
- {filteredOutlets.length} media outlets {searchTerm && `(search results for "${searchTerm}")`}
-
-
-
-
-
-
{/* People Section */}
-
- People
- ({getOutletsByCategory("People").length})
-
+
+
+ People
+ ({getOutletsByCategory("People").length})
+
+
+
{getOutletsByCategory("People").map((outlet) => (
-
- Topics
- ({getOutletsByCategory("Topics").length})
-
+
+
+ Topics
+ ({getOutletsByCategory("Topics").length})
+
+
+
{getOutletsByCategory("Topics").map((outlet) => (
-
- Companies
- ({getOutletsByCategory("Companies").length})
-
+
+
+ Companies
+ ({getOutletsByCategory("Companies").length})
+
+
+
{getOutletsByCategory("Companies").map((outlet) => (