diff --git a/module/file/ui/export.html.php b/module/file/ui/export.html.php
index 470f33b19c..63d1879459 100644
--- a/module/file/ui/export.html.php
+++ b/module/file/ui/export.html.php
@@ -18,7 +18,7 @@ $this->loadModel('file');
if(isset($_SERVER['HTTP_REFERER']) && str_contains($_SERVER['HTTP_REFERER'], 'calendar')) unset($lang->exportTypeList['selected']);
/* Generate custom export fields. */
-$hideExportRange = isset($_SERVER['HTTP_REFERER']) && str_contains($_SERVER['HTTP_REFERER'], 'kanban');
+if(!isset($hideExportRange)) $hideExportRange = isset($_SERVER['HTTP_REFERER']) && str_contains($_SERVER['HTTP_REFERER'], 'kanban');
$customExportRowList = array();
$isCustomExport = (!empty($customExport) and !empty($allExportFields));
$showBizGuide = $config->edition == 'open' && empty($config->{$this->moduleName}->closeBizGuide) ? true : false;
@@ -27,7 +27,7 @@ $bizName = $showBizGuide ? "moduleName;