mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-05 06:07:35 +03:00
Add a pre_filtered_list method in collection. This allow filters optimizations
This commit is contained in:
parent
8c225f019c
commit
39823f8909
2 changed files with 10 additions and 1 deletions
|
@ -837,7 +837,7 @@ def report(path, xml_request, collection):
|
|||
else:
|
||||
# Reference is a collection
|
||||
path = hreference
|
||||
items = [collection.get(href) for href, etag in collection.list()]
|
||||
items = collection.pre_filtered_list(filters)
|
||||
|
||||
for item in items:
|
||||
if filters:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue