disciple-tools-theme icon indicating copy to clipboard operation
disciple-tools-theme copied to clipboard

#2494 - Merge Location_Grid And Location_Grid_Meta Into A Single Field

Open kodinkat opened this issue 1 year ago • 2 comments

  • fixes: #2494

Further Design Discussion Points

  • Need to determine which field should be updated when record contains multiple meta location fields and contact_address field populated.

  • Once proposed shape has been merged; need to identify plugins impacted by changes and in need of updates:

    • DT_Webform
    • DT_Import

kodinkat avatar Jun 20 '24 11:06 kodinkat

@kodinkat If i use the API to set the location_grid to Paris as so: image

The location field stays empty: image

On the contact the location grid field acquires 2 values: image

We'll want to merge these into one value and make sure the field is displayed. If the user updates the contact via location_grid or location_grid_meta we want to end up with the same result

corsacca avatar Jul 12 '24 14:07 corsacca

403 Forbidden exception encountered whilst trying to directly access API; which I believe is the result of an abscent nonce. As a result, no updates are made to location field.

Screenshot 2024-07-25 at 11 49 45

Recent updates now ensure multiple postmeta location grid entries are no longer made.

kodinkat avatar Jul 25 '24 13:07 kodinkat