Created
January 6, 2020 12:11
-
-
Save DariaUshaeva/f84b67df623924d26c5a66d9c65e2280 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/backend/templates/views/exim/export.tpl b/design/backend/templates/views/exim/export.tpl | |
index afc07f3..6324e2c 100644 | |
--- a/design/backend/templates/views/exim/export.tpl | |
+++ b/design/backend/templates/views/exim/export.tpl | |
@@ -145,7 +145,7 @@ | |
<div class="control-group"> | |
<label for="filename" class="control-label">{__("filename")}:</label> | |
<div class="controls"> | |
- <input type="text" name="export_options[filename]" id="filename" size="50" class="input-large" value="{if $pattern.filename}{$pattern.filename}{else}{$p_id}_{$l.name}_{$smarty.const.TIME|date_format:"%m%d%Y"}.csv{/if}" /> | |
+ <input type="text" name="export_options[filename]" id="filename" size="50" class="input-large" value="{if $pattern.filename}{$pattern.filename}{else}{$p_id}_{$active_layout.name}_{$smarty.const.TIME|date_format:"%m%d%Y"}.csv{/if}" /> | |
{assign var="filename_description" value=$pattern.filename_description} | |
{if $pattern.filename_description}<p><small>{__($filename_description)}</small></p>{/if} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment