Commit ae51a916 authored by Gergely Ujvari's avatar Gergely Ujvari

Set default limit 200 instead of 20 for search requests

parent fc5ef2f5
...@@ -170,9 +170,10 @@ class ViewerController ...@@ -170,9 +170,10 @@ class ViewerController
loaded = [] loaded = []
loadAnnotations = -> loadAnnotations = ->
query = limit: 200
if annotator.tool is 'highlight' if annotator.tool is 'highlight'
return unless auth.user return unless auth.user
query = user: auth.user query.user = auth.user
for p in annotator.providers for p in annotator.providers
for e in p.entities when e not in loaded for e in p.entities when e not in loaded
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment