From f1e0ac0a93b4d8ccd227f7d773cffd5a4ac74f76 Mon Sep 17 00:00:00 2001 From: Joshua Ryder Date: Thu, 2 Oct 2025 00:00:51 -0400 Subject: [PATCH] Fix archive functionality: change default includeArchived to false --- server/utils/database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/database.ts b/server/utils/database.ts index 278e73e..461ea57 100644 --- a/server/utils/database.ts +++ b/server/utils/database.ts @@ -59,7 +59,7 @@ export function getDatabase() { return db } -export function getAllSermons(limit?: number, includeArchived: boolean = true) { +export function getAllSermons(limit?: number, includeArchived: boolean = false) { const db = getDatabase() const whereClause = includeArchived ? '' : 'WHERE archived = 0'