Comment to Roll back from 13.1.0-B1 to 13.0.0
-
If you use Nominatim, for the location fields problem, you can fix the problem like this.
In /inc/classes/BxDolLocationFieldNominatim.php Replace $sRet = $oForm->getTemplate()->parseHtmlByName('location_field_plain_auto.html', $aVars); } else { $aFields = array( 'lat' => array('type' => 'hidden'), 'lng' => array('type' => 'hidden'), 'street_number' => array('type' => 'text', 'ph' => _t('_sys_location_ph_number')), 'street' => array('type' => 'text', 'ph' => _t('_sys_location_ph_street')), 'city' => array('type' => 'text', 'ph' => _t('_sys_location_ph_city')), 'state' => array('type' => 'text', 'ph' => _t('_sys_location_ph_state')), 'zip' => array('type' => 'text', 'ph' => _t('_sys_location_ph_zip')), 'country' => array('type' => 'select'), ); By $sRet = $oForm->getTemplate()->parseHtmlByName('location_field_plain_auto.html', $aVars); } else { $aFields = array( 'lat' => array('type' => 'hidden'), 'lng' => array('type' => 'hidden'), 'street_number' => array('type' => 'hidden', 'ph' => _t('_sys_location_ph_number')), 'street' => array('type' => 'hidden', 'ph' => _t('_sys_location_ph_street')), 'city' => array('type' => 'text', 'ph' => _t('_sys_location_ph_city')), 'state' => array('type' => 'text', 'ph' => _t('_sys_location_ph_state')), 'zip' => array('type' => 'text', 'ph' => _t('_sys_location_ph_zip')), 'country' => array('type' => 'select'), );
So just put "hidden" the fields you don't want to see
But it would be nice to have a high precision/low precision option because not everyone wants to ask for the precise address.