From: Dave Greenberg Date: Wed, 13 May 2015 21:02:01 +0000 (-0700) Subject: CRM-16502 - fix type assignments in Geocode Job. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8ebf8a02fc749310d8a9921330dc8104fa4ffa6c;p=civicrm-core.git CRM-16502 - fix type assignments in Geocode Job. ---------------------------------------- * CRM-16502: Geocoder scheduled job incorrect API parameters https://issues.civicrm.org/jira/browse/CRM-16502 --- 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?',