1
0

Used one branch for both fixes in caldav-go

This commit is contained in:
kolaente
2019-05-24 20:01:59 +02:00
parent 951d92b2f0
commit 6b348fad04
4 changed files with 6 additions and 7 deletions

View File

@ -113,8 +113,8 @@ func (rh reportHandler) fetchResourcesByFilters(origin *data.Resource, filtersXM
return reps, err
}
for _, resource := range resources {
reps = append(reps, reportRes{resource.Path, &resource, true})
for in, resource := range resources {
reps = append(reps, reportRes{resource.Path, &resources[in], true})
}
} else {
// the origin resource is not a collection, so returns just that as the result