mirror of
https://github.com/9001/copyparty.git
synced 2026-03-31 20:43:15 +10:00
add option to load more search results
This commit is contained in:
@@ -875,8 +875,9 @@ class HttpCli(object):
|
||||
else:
|
||||
# search by query params
|
||||
q = body["q"]
|
||||
self.log("qj: " + q)
|
||||
hits, taglist = idx.search(vols, q)
|
||||
n = body.get("n", self.args.srch_hits)
|
||||
self.log("qj: {} |{}|".format(q, n))
|
||||
hits, taglist = idx.search(vols, q, n)
|
||||
msg = len(hits)
|
||||
|
||||
idx.p_end = time.time()
|
||||
|
||||
Reference in New Issue
Block a user