Add missing fields to collection

This commit is contained in:
Michael 2022-04-29 10:13:23 +00:00
commit a2452b33eb
3 changed files with 14 additions and 4 deletions

View file

@ -664,9 +664,14 @@
"cid" => ["post", "author-id"],
"received" => ["post", "received"],
"created" => ["post", "created"],
"commented" => ["post-thread", "commented"],
"thr-parent-id" => ["post", "thr-parent-id"],
"author-id" => ["post", "author-id"],
"gravity" => ["post", "gravity"],
],
"query" => "FROM `post-collection`
INNER JOIN `post` ON `post-collection`.`uri-id` = `post`.`uri-id`"
INNER JOIN `post` ON `post-collection`.`uri-id` = `post`.`uri-id`
INNER JOIN `post-thread` ON `post-thread`.`uri-id` = `post`.`parent-uri-id`"
],
"tag-view" => [
"fields" => [