fix: [export] fixed the export page breaking for text exports, fixes #5563

pull/5579/head
iglocska 2020-01-31 12:01:27 +01:00
parent a92aa565bd
commit 17918f916c
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@
echo sprintf(
'<li class="actions" style="text-align:center; width: auto; padding: 7px 2px;">%s</li>',
$background ?
$this->Html->link($sigType, array('action' => 'downloadExport', $k, $sigType), array('class' => 'btn btn-inverse btn-small btn.active qet')) :
$this->Html->link($sigType, array('action' => 'downloadExport', 'text', $sigType), array('class' => 'btn btn-inverse btn-small btn.active qet')) :
sprintf(
'<a href="%s" class="btn btn-inverse btn-small">%s</a>',
$baseurl . '/attributes/restSearch/returnFormat:text/type:' . $sigType . '.json',