diff --git a/CHANGELOG b/CHANGELOG index 8506705b43..35dedafe22 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Search party also by contact mechanisms * Add contact_mechanism_get * Add name to contact mechanism * Improve distinction of address record name diff --git a/party.py b/party.py index 409eb4046c..1ed5ed1f34 100644 --- a/party.py +++ b/party.py @@ -220,6 +220,7 @@ class Party(ModelSQL, ModelView, MultiValueMixin): ('code',) + tuple(clause[1:]), ('identifiers.code',) + tuple(clause[1:]), ('name',) + tuple(clause[1:]), + ('contact_mechanisms.rec_name',) + tuple(clause[1:]), ] def address_get(self, type=None):