fix: [opendata export] No longer using the returnFormat field as the dataset resource format

- The resource format can be defined with a
  'format' field within the resource field in the
  setup filter
pull/5891/head
chrisr3d 2020-05-08 14:53:41 +02:00
parent 8265a95d4c
commit b8f47718cc
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ class OpendataExport
private function __add_query($cmd)
{
unset($this->__default_filters['returnFormat']);
$body = json_encode($this->__default_filters);
$bodyFilename = $this->__generateSetupFile($body);
$bodyParam = ' --body ' . $bodyFilename;