This commit is contained in:
Yuri Kuznetsov
2024-11-14 18:11:19 +02:00
parent 923b05b4aa
commit 513a139ef7
31 changed files with 79 additions and 57 deletions
+2 -2
View File
@@ -168,7 +168,7 @@ class Note extends Entity
$collection = $this->entityManager
->getRDBRepository(Attachment::ENTITY_TYPE)
->select([Attribute::ID, 'name', 'type'])
->select([Attribute::ID, Field::NAME, 'type'])
->order(Field::CREATED_AT)
->where([
Attribute::ID => $attachmentsIds
@@ -185,7 +185,7 @@ class Note extends Entity
$ids[] = $id;
$names->$id = $e->get('name');
$names->$id = $e->get(Field::NAME);
$types->$id = $e->get('type');
}