fix comment bookmarks
This commit is contained in:
parent
bff9342272
commit
a6aebd7004
|
@ -155,7 +155,7 @@ const relationClause = (type) => {
|
|||
clause += ' FROM "Item" JOIN "Item" root ON "Item"."rootId" = root.id LEFT JOIN "Sub" ON "Sub"."name" = root."subName" '
|
||||
break
|
||||
case 'bookmarks':
|
||||
clause += ' FROM "Item" JOIN "Bookmark" ON "Bookmark"."itemId" = "Item"."id" LEFT JOIN "Sub" ON "Sub"."name" = "Item"."subName" '
|
||||
clause += ' FROM "Item" JOIN "Item" root ON "Item"."rootId" = root.id JOIN "Bookmark" ON "Bookmark"."itemId" = "Item"."id" LEFT JOIN "Sub" ON "Sub"."name" = root."subName" '
|
||||
break
|
||||
case 'outlawed':
|
||||
case 'borderland':
|
||||
|
|
Loading…
Reference in New Issue