diff --git a/geonode/base/forms.py b/geonode/base/forms.py index 6e01854d2ce..d91fc1dd578 100644 --- a/geonode/base/forms.py +++ b/geonode/base/forms.py @@ -343,6 +343,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