Skip to content

Commit ef39705

Browse files
authored
Fix collection limits bug in query_collections function (#1125)
1 parent dd17c58 commit ef39705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycsw/ogc/api/records.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ def get_all_collections(self) -> list:
10981098
"""
10991099

11001100
default_collection = 'metadata:main'
1101-
virtual_collections = self.repository.query_collections()
1101+
virtual_collections = self.repository.query_collections(limit=self.limit)
11021102

11031103
return [default_collection] + [vc.identifier for vc in virtual_collections]
11041104

0 commit comments

Comments
 (0)