Skip to content
Snippets Groups Projects
Commit f50b7f6d authored by magicfelix's avatar magicfelix
Browse files

[DAV] Use unique id to deduplicate objects

parent b7058579
No related branches found
No related tags found
1 merge request!1147Implement read-only CalDAV and CardDAV
......@@ -349,7 +349,7 @@ class QueryBase:
objects = {}
for obj in self.request.objects:
identifier = obj.pk if not isinstance(obj, NotFoundObject) else obj.href
identifier = obj.value_unique_id(obj, self.request._request) if not isinstance(obj, NotFoundObject) else obj.href
if identifier not in objects:
objects[identifier] = obj
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment