Skip to content

Commit

Permalink
Fix admin property search
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaboiangiu committed Feb 14, 2020
1 parent 1ee21c5 commit 4c3ece4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gemet/thesaurus/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ForeignRelationAdmin(admin.ModelAdmin):


class PropertiesAdmin(admin.ModelAdmin):
search_fields = ('code',)
search_fields = ('name', 'value',)
list_display = ('name', 'value', 'concept', 'language', 'status',
'version_added')
list_filter = ('version_added__identifier', 'status', 'language', 'name')
Expand Down
2 changes: 1 addition & 1 deletion gemet/thesaurus/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="gemet-header">
<!-- title -->
<div class="header-title">
<a href="/" class="title">GEMET</a>
<a href="{% url 'themes' language.code %}" class="title">GEMET</a>
<div class="subtitle">General<br>Multilingual<br>Environmental<br>Thesaurus</div>
<div class="search_bar search_bar_fix">
<div class="search_dropdown">
Expand Down

0 comments on commit 4c3ece4

Please sign in to comment.