fix(mindspace): sync nested OA files and count workspace assets
Recursive workspace sync now imports files in oa/private/public subfolders, references workspace paths without duplicating storage, and includes workspace-sourced assets in category itemCount. Refresh counts when leaving a category view. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -179,7 +179,6 @@ export function createMindSpaceService(pool, options = {}) {
|
||||
ON a.category_id = c.id
|
||||
AND a.user_id = c.user_id
|
||||
AND a.status <> 'deleted'
|
||||
AND a.source_type = 'upload'
|
||||
LEFT JOIN h5_page_records p
|
||||
ON p.category_id = c.id AND p.user_id = c.user_id AND p.status <> 'deleted'
|
||||
LEFT JOIN h5_publish_records pr
|
||||
|
||||
Reference in New Issue
Block a user