Improve pagination (#105)
This commit is contained in:
parent
89f385a53d
commit
8948a5f219
97 changed files with 2137 additions and 529 deletions
|
|
@ -89,7 +89,7 @@ func (vcls *VikunjaCaldavListStorage) GetResources(rpath string, withChildren bo
|
|||
}
|
||||
|
||||
// Otherwise get all lists
|
||||
thelists, err := vcls.list.ReadAll("", vcls.user, -1)
|
||||
thelists, _, _, err := vcls.list.ReadAll(vcls.user, "", -1, 50)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue