- Issue created by @speckles
The Add Head of Household form doesn't work.
- I created a Person contact with the Given Name TestPerson2
- I created a Household contact with the Name TestHousehold1
- I navigated to the Content > CRM > Relationships page and clicked Add relationship
- I selected Head of Household
- I tried typing 'TestHousehold1' into the Household field. No lookup happened
- I tried submitting the form with just the text 'TestHousehold1'
- I got the error 'There are no crm contacts matching "TestHousehold1".'
For fun, I then tried typing out the text that popped up when I searched for TestPerson2 in the Head of Household field (aka "TestPerson2_none (13)") into the Household field, then did a new lookup for TestPerson1 in the Head of Household field, then tried submitting the form. This did successfully create a Head of Household relationship between TestPerson1 and TestPerson2.
Then I tried looking up the id of TestHousehold1 in the crm_contact, and then putting that into the Household field (aka "TestHousehold1 (5)". This also created a Head of Household relationship. So submission works, it's just the lookup that's broken?
Active
1.0
Code