Oops
This commit is contained in:
parent
70a45ac8ac
commit
5ca71a43c2
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user