Merge branch 'feature/319-csv-export' into develop
This commit is contained in:
commit
1671070d0c
@ -90,6 +90,9 @@ class SettingController extends Controller
|
||||
|
||||
$filename = tempnam(sys_get_temp_dir(), 'tissue_export_tmp_');
|
||||
try {
|
||||
// 気休め
|
||||
set_time_limit(0);
|
||||
|
||||
$exporter = new CheckinCsvExporter(Auth::user(), $filename, $charsets[$validated['charset']]);
|
||||
$exporter->execute();
|
||||
} catch (\Throwable $e) {
|
||||
|
@ -46,7 +46,7 @@ class CheckinCsvExporter
|
||||
$ejaculation->note,
|
||||
$ejaculation->link,
|
||||
];
|
||||
foreach ($ejaculation->tags as $tag) {
|
||||
foreach ($ejaculation->tags->take(32) as $tag) {
|
||||
$record[] = $tag->name;
|
||||
}
|
||||
$csv->insertOne($record);
|
||||
|
Loading…
Reference in New Issue
Block a user