From 9847ae5edf5ec227e173538b9ef470616486c93b Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 22 Apr 2021 11:30:48 +0200 Subject: [PATCH] get export filename base from profile title --- src/Application/Model/ExportBase.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Application/Model/ExportBase.php b/src/Application/Model/ExportBase.php index ef2a0e8..a9357ff 100644 --- a/src/Application/Model/ExportBase.php +++ b/src/Application/Model/ExportBase.php @@ -98,6 +98,14 @@ abstract class ExportBase implements QueryBase return $renderer->getContent($rows, $fieldnames); } + /** + * @return string + */ + public function getExportFilenameBase() : string + { + return $this->getTitle(); + } + /** * @param $format *