diff --git a/frontend/templates/files.html b/frontend/templates/files.html index d4f13beb..32713539 100644 --- a/frontend/templates/files.html +++ b/frontend/templates/files.html @@ -1012,7 +1012,7 @@ ${snippet ? `
…${snippet}…
` : ''}
- +
diff --git a/frontend/templates/search.html b/frontend/templates/search.html index 0a9f771b..6f4807a6 100644 --- a/frontend/templates/search.html +++ b/frontend/templates/search.html @@ -196,7 +196,7 @@ var tags = Array.isArray(hit.tags) ? hit.tags : (hit.tags ? [hit.tags] : []); var docType = hit.document_type || ''; var sender = hit.sender || hit.absender || ''; - var fileUrl = '/files/' + hit.file_id; + var fileUrl = '/files/' + hit.file_id + '/detail'; // Build badges var badges = '';