Can not add fields to search
I tried to add fields like city, country and zip to the TS Constant "Which fields to look for search term" but ended up with this error message:
Unknown column 'tx_nnaddress_domain_model_person.country' in 'where clause'
The same message with city and zip.
Updated by Hendrik Reimers over 6 years ago
- Tracker changed from Bug to Support
- Status changed from New to Resolved
- Assignee set to Hendrik Reimers
- % Done changed from 0 to 100
These fields are part of the Address Model, not the based Person Model. So the string that you've tried occurs an error.
Country, City, etc. is a part of the Addresses Object inside a Person. So you need to define it like this:
lastName, firstName, organisation, addresses.country, addresses.city
after that it works (on my test installation)