diff --git a/client/lib/aethex-database-adapter.ts b/client/lib/aethex-database-adapter.ts index ef6af20a..3799997d 100644 --- a/client/lib/aethex-database-adapter.ts +++ b/client/lib/aethex-database-adapter.ts @@ -1023,8 +1023,9 @@ export const aethexNotificationService = { .from("notifications") .select("*") .eq("user_id", userId) + .order("read", { ascending: true }) .order("created_at", { ascending: false }) - .limit(10); + .limit(20); if (error) { console.warn("Error fetching notifications:", error);