Forgot some SQLite BS... :)
This commit is contained in:
parent
f4213888a8
commit
7fff166c3e
|
@ -33,7 +33,7 @@ export default function searcher(table, matchField=undefined, matchQuery=undefin
|
||||||
`)
|
`)
|
||||||
.get({
|
.get({
|
||||||
matchQuery
|
matchQuery
|
||||||
})
|
})['count(*)']
|
||||||
|
|
||||||
if (method === "all" && page > pageCount)
|
if (method === "all" && page > pageCount)
|
||||||
reject(`Page number too high! Page count: ${pageCount}`)
|
reject(`Page number too high! Page count: ${pageCount}`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user