From 8ebf8a02fc749310d8a9921330dc8104fa4ffa6c Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Wed, 13 May 2015 14:02:01 -0700 Subject: [PATCH] CRM-16502 - fix type assignments in Geocode Job. ---------------------------------------- * CRM-16502: Geocoder scheduled job incorrect API parameters https://issues.civicrm.org/jira/browse/CRM-16502 --- api/v3/Job.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/v3/Job.php b/api/v3/Job.php index 380621b6ae..e83539f3b0 100644 --- a/api/v3/Job.php +++ b/api/v3/Job.php @@ -140,12 +140,12 @@ function civicrm_api3_job_geocode($params) { */ function _civicrm_api3_job_geocode_spec(&$params) { $params['start'] = array( - 'title' => 'Start Date', - 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, + 'title' => 'Starting Contact ID', + 'type' => CRM_Utils_Type::T_INT, ); $params['end'] = array( - 'title' => 'End Date', - 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, + 'title' => 'Ending Contact ID', + 'type' => CRM_Utils_Type::T_INT, ); $params['geocoding'] = array( 'title' => 'Geocode address?', -- 2.25.1