Skip to content

Commit

Permalink
[Fixes #11494] Implement relations between resources - minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
etj committed Oct 10, 2023
1 parent f5f18b1 commit 11faa5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geonode/base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 11faa5e

Please sign in to comment.