fix: pages feature now works properly

This commit is contained in:
hugo committed 2026-02-16 08:15:02 +01:00
1 parent 9440c5e543
commit 9bab8ac89c
4 files changed
+139 -10

No files matched your search

+1 -1
View File
@@ -747,7 +747,7 @@ export class PostEngine extends EventEmitter {
// Search the stemmed content, filtered by project_id for project isolation
const result = await client.execute({
sql: `SELECT id FROM posts_fts WHERE project_id = ? AND posts_fts MATCH ? ORDER BY rank LIMIT 50`,
sql: `SELECT id FROM posts_fts WHERE project_id = ? AND posts_fts MATCH ? ORDER BY rank LIMIT 500`,
args: [this.currentProjectId, stemmedQuery],
});