Skip to content

Commit

Permalink
Add positions and groups to contact search
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Sep 25, 2020
1 parent 2cadd13 commit 5ba38f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpicms/templates/personal/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,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'], searchFunction);
userList.search(searchString, ['first_name', 'last_name', 'email', 'phone', 'positions', 'groups'], searchFunction);
});

</script>

0 comments on commit 5ba38f4

Please sign in to comment.