Skip to content

Commit

Permalink
Merge pull request #131 from molgen/fix-name-search
Browse files Browse the repository at this point in the history
Fix name search
  • Loading branch information
donald authored Feb 12, 2025
2 parents 3ed605d + 93156f6 commit 037de1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ msgstr "Sonderfunktion"
#: mpicms/templates/wagtailusers/users/list.html:8
#: mpicms/templates/wagtailusers/users/list.html:12
msgid "Name"
msgstr "Nachname"
msgstr "Name"

#: mpicms/templates/personal/list.html:93
msgid "Email"
Expand Down
2 changes: 1 addition & 1 deletion mpicms/templates/personal/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h1 class="title has-text-centered">{% trans 'Contact List' %}</h1>
var search_field = document.getElementById('search_field');
search_field.addEventListener('keyup', function() {
var searchString = search_field.value;
userList.search(searchString, ['first_name', 'last_name', 'email', 'phone', 'positions', 'special_functions', 'groups'], searchFunction);
userList.search(searchString, ['name', 'email', 'phone', 'room', ], searchFunction);
});

</script>

0 comments on commit 037de1f

Please sign in to comment.