This commit is contained in:
regalijan 2023-10-19 16:50:38 -04:00
parent 70a45ac8ac
commit 5ca71a43c2
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -59,7 +59,7 @@ export async function onRequestGet(context: RequestContext) {
WHERE created_at < ? ${entryType === "gma" ? "" : "AND open = ?"} WHERE created_at < ? ${entryType === "gma" ? "" : "AND open = ?"}
ORDER BY created_at DESC LIMIT 25;`, ORDER BY created_at DESC LIMIT 25;`,
) )
.bind(before, Number(!showClosed)) .bind(before, entryType === "gma" ? undefined : Number(!showClosed))
.all(); .all();
if (results) if (results)