Issue #3328886: Make it clear that CSV exports are limited
This commit is contained in:
parent
4e22c5fd83
commit
3cc0c515ef
|
@ -7,6 +7,11 @@ All [Asset](/guide/assets), [Log](/guide/logs), and
|
|||
the bottom that will generate and download a CSV file. Any sorts or filters
|
||||
that are applied to the list will be represented in the CSV output.
|
||||
|
||||
**Warning: CSV exports do not include all data.**
|
||||
|
||||
The [farmOS API](/development/api) is the best way to get access to all raw data
|
||||
in a farmOS instance.
|
||||
|
||||
## KML
|
||||
|
||||
The *farmOS KML* module provides an option for exporting the geometry of one or
|
||||
|
|
|
@ -192,6 +192,13 @@ class EntityCsvActionForm extends ConfirmFormBase {
|
|||
*/
|
||||
public function buildForm(array $form, FormStateInterface $form_state, $entity_type_id = NULL) {
|
||||
|
||||
// Make it clear that CSV exports are limited.
|
||||
$form['warning'] = [
|
||||
'#type' => 'html_tag',
|
||||
'#tag' => 'strong',
|
||||
'#value' => $this->t('Warning: CSV exports do not include all data.'),
|
||||
];
|
||||
|
||||
// If we don't have an entity type or list of entities, redirect.
|
||||
$this->entityType = $this->entityTypeManager->getDefinition($entity_type_id);
|
||||
$this->entities = $this->tempStore->get($this->user->id() . ':' . $entity_type_id);
|
||||
|
|
Loading…
Reference in New Issue