Skip to content

Commit 224ca90

Browse files
committed
Merge branch 'hotfix-petrzpav' into main-1
2 parents bc412ef + 8918d38 commit 224ca90

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [1.0.2] - 2025-05-14
8+
9+
### Fixed
10+
11+
- Export stripped values.
12+
713
## [1.0.1] - 2025-05-14
814

915
### Fixed
@@ -322,6 +328,7 @@ _Stable release based on [0.1.0-rc.1]._
322328

323329
- New changelog file.
324330

331+
[1.0.2]: https://https://github.com/internetguru/laravel-model-browser/compare/v1.0.1...v1.0.2
325332
[1.0.1]: https://https://github.com/internetguru/laravel-model-browser/compare/v1.0.0...v1.0.1
326333
[1.0.0]: https://https://github.com/internetguru/laravel-model-browser/compare/v0.12.2...v1.0.0
327334
[1.0.0-rc.1]: https://github.com/internetguru/laravel-model-browser/releases/tag/v0.12.2

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.0.2

src/Components/BaseModelBrowser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function getAlignment(string $attribute, mixed $value): string
134134

135135
public function downloadCsv(): StreamedResponse
136136
{
137-
$data = $this->getData(paginate: false, highlightMatches: false, applyFormats: false);
137+
$data = $this->getData(paginate: false, highlightMatches: false);
138138
$headers = array_values($this->viewAttributes);
139139
$handle = fopen('php://memory', 'w+');
140140

@@ -143,7 +143,7 @@ public function downloadCsv(): StreamedResponse
143143
foreach ($data as $item) {
144144
$row = [];
145145
foreach ($this->viewAttributes as $attribute => $trans) {
146-
$row[] = $this->itemValue($item, $attribute);
146+
$row[] = $this->itemValueStripped($item, $attribute);
147147
}
148148
fputcsv($handle, $row);
149149
}

0 commit comments

Comments
 (0)