update packages and search fix

This commit is contained in:
polv committed 2021-04-17 23:02:59 +07:00
1 parent d8161be401
commit a311ef72d3
8 files changed
+838 -2386

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ export async function doSearch ({
const offset = (page - 1) * perPage
let cond = dbPost.chain().find({
date: { $exists: true } as any
date: { $exists: !(tag || q) } as any
})
if (q) {