mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
Merge pull request #2549 from mike-esokia/PHRAS-1946_geoloc_data
PHRAS-1946 add technicalInfo in record of detail view
This commit is contained in:
@@ -86,6 +86,7 @@ class RecordController extends Controller
|
||||
// get field's values
|
||||
$recordCaptions[$field->get_name()] = $field->get_serialized_values();
|
||||
}
|
||||
$recordCaptions["technicalInfo"] = $record->getPositionFromTechnicalInfos();
|
||||
|
||||
return $this->app->json([
|
||||
"desc" => $this->render('prod/preview/caption.html.twig', [
|
||||
|
||||
@@ -781,7 +781,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
];
|
||||
}
|
||||
|
||||
return ['isCoordComplete' => 0, 'latitude' => 0, 'longitude' => 0];
|
||||
return ['isCoordComplete' => 0, 'latitude' => 'false', 'longitude' => 'false'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user