diff --git a/pyramid_oereb/contrib/data_sources/oereblex/sources/plr_oereblex.py b/pyramid_oereb/contrib/data_sources/oereblex/sources/plr_oereblex.py index 61bbf7cf35..007e12ada8 100644 --- a/pyramid_oereb/contrib/data_sources/oereblex/sources/plr_oereblex.py +++ b/pyramid_oereb/contrib/data_sources/oereblex/sources/plr_oereblex.py @@ -131,3 +131,8 @@ def collect_related_geometries_by_real_estate(self, session, real_estate): selectinload(self.models.Geometry.public_law_restriction) .selectinload(self.models.PublicLawRestriction.responsible_office), ).all() + + def read(self, params, real_estate, bbox): + # resetting the local per request cache of queried oereblex links + self._queried_geolinks = {} + return super(DatabaseOEREBlexSource, self).read(params, real_estate, bbox)