diff --git a/app/Http/Controllers/ExportController.php b/app/Http/Controllers/ExportController.php
index 89c79d6..1908146 100644
--- a/app/Http/Controllers/ExportController.php
+++ b/app/Http/Controllers/ExportController.php
@@ -60,7 +60,7 @@ class ExportController extends Controller
if ($rate * 100 >= $percent) {
if ($type == 'mastodon') {
//comman break teh CSV so just take them out
- $comments = str_replace(",", ";", $location->description);
+ $comments = str_replace(",", ";", $location->public_comments);
//remove extra white space
$comments = str_replace(["\n\r", "\n", "\r"], " ", $comments);
diff --git a/app/Models/Location.php b/app/Models/Location.php
index aeeb54d..a13d6d7 100644
--- a/app/Models/Location.php
+++ b/app/Models/Location.php
@@ -35,6 +35,7 @@ class Location extends Model
"created_at",
"updated_at",
"actions_count",
- "archive_links"
+ "archive_links",
+ "notes",
];
}
diff --git a/app/Repositories/LocationRepository.php b/app/Repositories/LocationRepository.php
index 771ed0d..f654b44 100644
--- a/app/Repositories/LocationRepository.php
+++ b/app/Repositories/LocationRepository.php
@@ -76,8 +76,8 @@ class LocationRepository
$location->images = json_encode($images);
}
- $location->name = $request->name;
- //$location->description = $request->description;
+ $location->name = $request->name;
+ $location->notes = $request->notes;
$location->archive_links = $request->archive_links;
$result = [];
diff --git a/resources/views/back/location.blade.php b/resources/views/back/location.blade.php
index 03076c7..483767c 100644
--- a/resources/views/back/location.blade.php
+++ b/resources/views/back/location.blade.php
@@ -11,10 +11,10 @@
@csrf
-
+
+
+
+
diff --git a/resources/views/front/location.blade.php b/resources/views/front/location.blade.php
index a1e131d..e8e2522 100644
--- a/resources/views/front/location.blade.php
+++ b/resources/views/front/location.blade.php
@@ -12,6 +12,8 @@
{{trim($comment)}}
@endif
@endforeach
+