mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Remove hard limit on search endpoints
This commit is contained in:
parent
ca7967a3a3
commit
7d8cd99926
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ def user_search(query, viewer, *_):
|
||||||
.filter(
|
.filter(
|
||||||
similarity__gt=0.5,
|
similarity__gt=0.5,
|
||||||
)
|
)
|
||||||
.order_by("-similarity")[:10]
|
.order_by("-similarity")
|
||||||
), None
|
), None
|
||||||
|
|
||||||
|
|
||||||
|
@ -122,5 +122,5 @@ def list_search(query, viewer, *_):
|
||||||
.filter(
|
.filter(
|
||||||
similarity__gt=0.1,
|
similarity__gt=0.1,
|
||||||
)
|
)
|
||||||
.order_by("-similarity")[:10]
|
.order_by("-similarity")
|
||||||
), None
|
), None
|
||||||
|
|
Loading…
Reference in a new issue