Skip to content

Commit

Permalink
Merge pull request #353 from istresearch/dev/PE-348-contactsortfix in…
Browse files Browse the repository at this point in the history
…to develop

PR-348 - Don't grab system fields for contact sort magic.
  • Loading branch information
baracudda authored Jun 12, 2024
2 parents 8c7bcea + 26b0f99 commit b705d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engage/contacts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_queryset(self: ContactCRUDL.List, **kwargs):
if not self.sort_field in Contact._meta.get_fields():
# sort field is a ContactField whose `show_in_table` is True
contact_field = ContactField.objects.filter(
is_active=True, org_id=org.id, key=self.sort_field
is_active=True, org_id=org.id, key=self.sort_field, is_system=False
).first()
#endif
else:
Expand Down

0 comments on commit b705d64

Please sign in to comment.