Skip to content

Commit 2864570

Browse files
authored
Merge pull request #2372 from codeeu/ireland-dream-space
add geoposition and coordinates
2 parents b2dbb40 + fa8c838 commit 2864570

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/Imports/IrelandDreamSpaceImport.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function model(array $row): ?Model
4242
'description' => '',
4343
'organizer_type' => $row['type_of_organization'],
4444
'activity_type' => $row['activity_type'],
45-
'location' => '',
45+
'location' => $row['address'],
4646
'event_url' => '',
4747
'contact_person' => $row['email'],
4848
'user_email' => '',
@@ -55,9 +55,9 @@ public function model(array $row): ?Model
5555
'codeweek_for_all_participation_code' => '',
5656
'start_date' => $this->parseDate($row['date']),
5757
'end_date' => $this->parseDate($row['date']),
58-
'geoposition' => '',
59-
'longitude' => '',
60-
'latitude' => '',
58+
'geoposition' => $row['latitude'].','.$row['longitude'],
59+
'longitude' => $row['latitude'],
60+
'latitude' => $row['latitude'],
6161
'language' => '',
6262
'approved_by' => 19588,
6363
'mass_added_for' => 'Excel',
Binary file not shown.

0 commit comments

Comments
 (0)