This commit is contained in:
2026-05-11 15:23:34 +08:00
parent ed70a140a2
commit 547cbbb4a5
25 changed files with 721 additions and 332 deletions
@@ -72,7 +72,7 @@ class ArchiveAdminService
}
$updates = [];
foreach (['title', 'summary', 'author', 'source', 'series', 'content', 'raw'] as $field) {
foreach (['title', 'summary', 'author', 'source', 'series'] as $field) {
if (array_key_exists($field, $payload)) {
$updates[$field] = $this->nullableText($payload[$field]);
}
@@ -134,8 +134,6 @@ class ArchiveAdminService
{
$data = $this->listItem($row);
$data['metadata'] = $this->decodeJson($row->metadata ?? null, []);
$data['content'] = $row->content;
$data['raw'] = $row->raw;
$data['chunks'] = $this->decodeJson($row->chunks ?? null, []);
return $data;