Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions seed/models/columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,7 @@ def create_mappings(mappings, organization, user, import_file_id=None):
"from_units": mapping.get("from_units"),
"to_field": mapping["to_field"],
"to_table_name": mapping["to_table_name"],
"to_data_type": mapping.get("to_data_type"),
}
)
else:
Expand Down
1 change: 1 addition & 0 deletions seed/static/seed/js/controllers/mapping_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,7 @@ angular.module('SEED.controller.mapping', []).controller('mapping_controller', [
col.suggestion_column_name = cached_col.to_field;
col.suggestion_table_name = cached_col.to_table_name;
col.from_units = cached_col.from_units;
col.data_type = cached_col.to_data_type;

// If available, use display_name, else use raw field name.
const mappable_column = _.find($scope.mappable_property_columns.concat($scope.mappable_taxlot_columns), { column_name: cached_col.to_field, table_name: cached_col.to_table_name });
Expand Down
Loading