Skip to content

Commit

Permalink
[Fixes #12770] Thesaurus title label is not rendered (#12771)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi authored Dec 6, 2024
1 parent eb35218 commit 91f32c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geonode/base/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ def _get_thesauro_keyword_label(item, lang):

@staticmethod
def _get_thesauro_title_label(item, lang):
lang = remove_country_from_languagecode(lang)
tname = ThesaurusLabel.objects.values_list("label", flat=True).filter(thesaurus=item).filter(lang=lang)
if not tname:
return Thesaurus.objects.get(id=item.id).title
Expand Down

0 comments on commit 91f32c6

Please sign in to comment.