diff --git a/geonode/base/models.py b/geonode/base/models.py index 44d12e412e5..b5907a902ba 100644 --- a/geonode/base/models.py +++ b/geonode/base/models.py @@ -1797,6 +1797,7 @@ def get_targets(cls, source: ResourceBase, is_internal: bool = None): def resolve_targets(cls, linked_resources): return (lr.target for lr in linked_resources) + @classmethod def resolve_sources(cls, linked_resources): return (lr.source for lr in linked_resources)