タグ出力数の上限

This commit is contained in:
shibafu 2020-05-20 21:42:22 +09:00
parent 5668296e7d
commit 988ad9d992

View File

@ -46,7 +46,7 @@ class CheckinCsvExporter
$ejaculation->note, $ejaculation->note,
$ejaculation->link, $ejaculation->link,
]; ];
foreach ($ejaculation->tags as $tag) { foreach ($ejaculation->tags->take(32) as $tag) {
$record[] = $tag->name; $record[] = $tag->name;
} }
$csv->insertOne($record); $csv->insertOne($record);