Skip to content

Commit cab3fa7

Browse files
committed
Merge branch 'main' into dev
2 parents dc66cc1 + bc412ef commit cab3fa7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
88

9+
## [1.0.1] - 2025-05-14
10+
11+
### Fixed
12+
13+
- Export itemValue instead of stval.
14+
915
## [1.0.0] - 2025-05-09
1016

1117
_Stable release based on [1.0.0-rc.1]._
@@ -319,6 +325,7 @@ _Stable release based on [0.1.0-rc.1]._
319325
- New changelog file.
320326

321327
[Unreleased]: https://https://github.com/internetguru/laravel-model-browser/compare/staging...dev
328+
[1.0.1]: https://https://github.com/internetguru/laravel-model-browser/compare/v1.0.0...v1.0.1
322329
[1.0.0]: https://https://github.com/internetguru/laravel-model-browser/compare/v0.12.2...v1.0.0
323330
[1.0.0-rc.1]: https://github.com/internetguru/laravel-model-browser/releases/tag/v0.12.2
324331
[0.12.2]: https://https://github.com/internetguru/laravel-model-browser/compare/v0.12.1...v0.12.2

src/Components/BaseModelBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function downloadCsv(): StreamedResponse
143143
foreach ($data as $item) {
144144
$row = [];
145145
foreach ($this->viewAttributes as $attribute => $trans) {
146-
$row[] = prettyPrint(Arr::get($item, $attribute));
146+
$row[] = $this->itemValue($item, $attribute);
147147
}
148148
fputcsv($handle, $row);
149149
}

0 commit comments

Comments
 (0)