@haus-tech/product-import-export-plugin 2.2.4 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,6 +92,10 @@ let ProductExportService = class ProductExportService {
92
92
  const selectedExportFieldsArray = selectedExportFields.split(',');
93
93
  const selectedExportFieldsSet = new Set(selectedExportFieldsArray);
94
94
  const filteredHeaders = headers.filter((header) => {
95
+ // Ensure custom fields are not filtered out
96
+ if (filteredCustomFieldNames.includes(header.id)) {
97
+ return true;
98
+ }
95
99
  if (header.id.includes(':')) {
96
100
  const field = header.id.split(':')[0];
97
101
  return selectedExportFieldsSet.has(field);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haus-tech/product-import-export-plugin",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "A Vendure plugin for importing and exporting products using a CSV file",
5
5
  "author": "Haus Tech",
6
6
  "repository": {