Skip to content

Commit

Permalink
distinct action name by type
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Feb 7, 2024
1 parent f33e4be commit 74ef228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExcelGridFieldExportButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function __construct($targetFragment = "after", $exportColumns = null)
public function getActionName($gridField)
{
$name = strtolower($gridField->getName());
return 'excelexport_' . $name;
return 'excelexport_' . $name . '_' . $this->exportType;
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/ExcelMemberBulkLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function __construct($objectClass = null)
}
parent::__construct($objectClass);
}

/**
* @param array<string,mixed> $record
* @param array<string,string> $columnMap
Expand Down

0 comments on commit 74ef228

Please sign in to comment.