summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-05-04 12:43:43 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-05-06 20:31:27 -0100
commit92a9ad6d5466a02b3981ba2107bb407427f87b1f (patch)
tree55f951a3426b84b212db37c03639de8369af8054 /lib
parentf9e35642cdfec1b07be8b01adf3c0fa65f31291b (diff)
add actor_info on getNoteById()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/NotesRequest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/NotesRequest.php b/lib/Db/NotesRequest.php
index f9267366..2e931526 100644
--- a/lib/Db/NotesRequest.php
+++ b/lib/Db/NotesRequest.php
@@ -155,7 +155,7 @@ class NotesRequest extends NotesRequestBuilder {
$qb = $this->getNotesSelectSql();
$this->limitToIdString($qb, $id);
-// $this->limitToType($qb, Note::TYPE);
+ $this->leftJoinCacheActors($qb, 'attributed_to');
if ($asViewer) {
$this->limitToViewer($qb);