Added pagination (#16)
This commit is contained in:
parent
0e7e1b7e38
commit
d232836423
22 changed files with 71 additions and 31 deletions
|
|
@ -39,7 +39,7 @@ func Caldav(c echo.Context) error {
|
|||
}
|
||||
|
||||
// Get all tasks for that user
|
||||
tasks, err := models.GetTasksByUser(&u)
|
||||
tasks, err := models.GetTasksByUser(&u, -1)
|
||||
if err != nil {
|
||||
return crud.HandleHTTPError(err)
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue