fix comment bookmarks

This commit is contained in:
keyan 2024-02-13 16:22:36 -06:00
parent bff9342272
commit a6aebd7004
1 changed files with 1 additions and 1 deletions

View File

@ -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':