Skip to content

Commit

Permalink
Fix group/theme inheritance from broader
Browse files Browse the repository at this point in the history
  • Loading branch information
arielpontes committed Jan 18, 2021
1 parent b131e25 commit db2dd18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gemet/thesaurus/models.py
Expand Up @@ -139,6 +139,8 @@ def inherit_groups_and_themes_from_broader(self, version=None):
property_type=relation.property_type,
defaults={'version_added': version, 'status': PENDING}
)
if not relation.reverse:
relation.create_reverse()
if created:
num_created += 1
return num_created
Expand Down

0 comments on commit db2dd18

Please sign in to comment.