Skip to content

Commit

Permalink
fix mission contact filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalfox committed Oct 21, 2024
1 parent f5e7667 commit 52ea309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crm/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def company_detail(request, company_id):

# Gather contacts for this company
business_contacts = Contact.objects.filter(client__organisation__company=company).distinct()
mission_contacts = Contact.objects.filter(missioncontact__company=company).distinct()
mission_contacts = Contact.objects.filter(missioncontact__mission__lead__client__organisation__company=company).distinct()
administrative_contacts = AdministrativeContact.objects.filter(company=company)

# Won rate
Expand Down

0 comments on commit 52ea309

Please sign in to comment.