mirror of
https://github.com/itflow-org/itflow
synced 2026-11-24 13:27:27 +00:00
Files and documents everywhere else: asset and contact quick looks list their documents and files with the same tiles and rows as the document page, files opening their quick look instead of a raw download; client overview share links show document and file tiles and open the document page or file quick look; service quick look shows linked documents as tiles and leaves out archived ones, service add and edit document pickers carry an icon and summary; global search shows file and document type tiles in the palette and on the results page, and a file result opens its folder narrowed to that file; quote attachments show their tile and size, open the file quick look and download through file.php instead of linking straight into the uploads folder; ticket attachments show their file type tile; client portal documents list shows the document tile, folder and summary with the last updated date; removed unused modals/asset/asset_documents.php
This commit is contained in:
@@ -340,7 +340,7 @@ function clientOverviewSharedItems($client_id) {
|
||||
global $mysqli;
|
||||
|
||||
$sql = mysqli_query($mysqli, "SELECT item_id, item_type, item_related_id, item_recipient, item_views, item_view_limit, item_expire_at,
|
||||
COALESCE(credential_name, document_name, file_name) AS item_name
|
||||
COALESCE(credential_name, document_name, file_name) AS item_name, file_ext
|
||||
FROM shared_items
|
||||
LEFT JOIN credentials ON item_type = 'Credential' AND credential_id = item_related_id AND credential_client_id = $client_id
|
||||
LEFT JOIN documents ON item_type = 'Document' AND document_id = item_related_id AND document_client_id = $client_id
|
||||
|
||||
Reference in New Issue
Block a user