From 161e73f3541ed85022fab058958a34f7d55b5270 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sat, 13 Jun 2026 13:38:38 -0400 Subject: [PATCH] upd: note entity fix js calls add recording URL to json output --- src/Entity/Note.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Entity/Note.php b/src/Entity/Note.php index 0148d58..9068c64 100644 --- a/src/Entity/Note.php +++ b/src/Entity/Note.php @@ -167,14 +167,14 @@ class Note implements JsonSerializable public function toLink(): string { - return "id}')\">". + return "id}')\">". $this->title. " ". - "id}', this)\">". + "id}', this)\">". "". "". ( - $this->recording ? "
". + $this->recording ? "". "". "" : null @@ -195,6 +195,7 @@ class Note implements JsonSerializable { return [ 'id' => $this->getId(), + 'recording' => $this->getRecording(), 'link' => $this->toLink(), 'title' => $this->getTitle(), 'date' => $this->getDate(),