From e5ff3131c7b794ba037ec262376642a194f5a13e Mon Sep 17 00:00:00 2001 From: Oak McIlwain Date: Thu, 17 Oct 2024 12:07:08 +0800 Subject: [PATCH] Add abbreviated model name as prefix to default column name. --- .../src/components/internal/occurrence/bulk_import_schema.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boranga/frontend/boranga/src/components/internal/occurrence/bulk_import_schema.vue b/boranga/frontend/boranga/src/components/internal/occurrence/bulk_import_schema.vue index 3402e261..13bd4fdb 100644 --- a/boranga/frontend/boranga/src/components/internal/occurrence/bulk_import_schema.vue +++ b/boranga/frontend/boranga/src/components/internal/occurrence/bulk_import_schema.vue @@ -728,7 +728,7 @@ export default { )[0] this.$nextTick(() => { this.enablePopovers(); - this.selectedColumn.xlsx_column_header_name = this.selectedField.display_name + this.selectedColumn.xlsx_column_header_name = `${this.selectedContentType.model_abbreviation.toUpperCase()} ${this.selectedField.display_name}` if (!this.selectedColumn.id) { this.selectedColumn.xlsx_data_validation_allow_blank = this.selectedField.allow_null }