fix: pages feature now works properly

This commit is contained in:
2026-02-16 08:15:02 +01:00
parent 9440c5e543
commit 9bab8ac89c
4 changed files with 139 additions and 10 deletions

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],
});