A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(trpc): fix bookmark pagination tie breakers
Mohamed Bassem135f11637482
diff --git a/packages/trpc/models/bookmarks.ts b/packages/trpc/models/bookmarks.tsindex 77f01c26..dbf1ca63 100644--- a/packages/trpc/models/bookmarks.ts+++ b/packages/trpc/models/bookmarks.ts@@ -8,7 +8,6 @@ import {eq,getTableColumns,gt,- gte,inArray,lt,lte,@@ -477,7 +476,7 @@ export class Bookmark extends BareBookmark {gt(createdAtCol, input.cursor.createdAt),and(eq(createdAtCol, input.cursor.createdAt),- gte(idCol, input.cursor.id),+ lte(idCol, input.cursor.id),),);}