From 9c16701f438d330fdc7923aa680c8874fbe8cc18 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 27 Apr 2022 09:43:07 +1200 Subject: [PATCH] [REF] [Import] [Trivial] Make 'mapper' field available as a submittable value throughout the flow The fields defined here can be accessed from any field in the flow, removing the need to pass the values from form to form --- CRM/Import/Forms.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CRM/Import/Forms.php b/CRM/Import/Forms.php index 518f16e4fe..2b2a364fec 100644 --- a/CRM/Import/Forms.php +++ b/CRM/Import/Forms.php @@ -111,6 +111,11 @@ class CRM_Import_Forms extends CRM_Core_Form { 'dedupe_rule_id' => 'DataSource', 'onDuplicate' => 'DataSource', 'disableUSPS' => 'DataSource', + 'doGeocodeAddress' => 'DataSource', + // Note we don't add the save mapping instructions for MapField here + // (eg 'updateMapping') - as they really are an action for that form + // rather than part of the mapping config. + 'mapper' => 'MapField', ]; /** -- 2.25.1