integreat-cms
integreat-cms copied to clipboard
[2024-11-07] Remove E-mail, phone number and website from POI
Motivation
Currently POI has three fields for contact information: E-mail, phone number and website. We came to an idea, however, while discussing and implementing contact management system, that those fields/information must be managed in contacts in futur.
Proposed Solution
- Remove those three fields from POI
- Adjust ajax POI form
poi_box.html
(remove Contact details, etc) - Create a migration to create contacts from those poi fields and remove the fields from poi
- Adjust the api so that it returns the same results (Contacts without title and name could be treated as primary contact, and returned instead of the now removed data)