Skip to content

Commit

Permalink
[refs #86430] Add refresh search_text for new_concept
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaboiangiu committed Jun 29, 2017
1 parent 68b506a commit 35c46e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gemet/thesaurus/edit_views.py
Expand Up @@ -470,6 +470,7 @@ def form_valid(self, form):
language=self.language,
name='prefLabel',
value=form.cleaned_data['name'])
refresh_search_text('prefLabel', new_concept.id, self.language.code)
url_name = EDIT_URL_NAMES[namespace.heading]
url = reverse(url_name, kwargs={'langcode': self.langcode,
'code': new_concept.code})
Expand Down

0 comments on commit 35c46e7

Please sign in to comment.