Fix: correct doc version filename handling (#12223)

This commit is contained in:
shamoon
2026-03-04 15:28:07 -08:00
committed by GitHub
parent fa998ecd49
commit df03207eef
9 changed files with 309 additions and 28 deletions

View File

@@ -95,6 +95,7 @@ Think of versions as **file history** for a document.
- Versions track the underlying file and extracted text content (OCR/text).
- Metadata such as tags, correspondent, document type, storage path and custom fields stay on the "root" document.
- Version files follow normal filename formatting (including storage paths) and add a `_vN` suffix (for example `_v1`, `_v2`).
- By default, search and document content use the latest version.
- In document detail, selecting a version switches the preview, file metadata and content (and download etc buttons) to that version.
- Deleting a non-root version keeps metadata and falls back to the latest remaining version.