fix(caldav): return more than 1000 tasks
Some checks failed
continuous-integration/drone/push Build is failing

Resolves #2302
This commit is contained in:
kolaente 2024-04-25 13:36:53 +02:00
parent 70183dd7c6
commit 741370b613
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -636,7 +636,7 @@ func (vcls *VikunjaCaldavProjectStorage) getProjectRessource(isCollection bool)
tk := models.TaskCollection{
ProjectID: vcls.project.ID,
}
iface, _, _, err := tk.ReadAll(s, vcls.user, "", 1, 1000)
iface, _, _, err := tk.ReadAll(s, vcls.user, "", 0, -1)
if err != nil {
_ = s.Rollback()
return rr, err