From 023e155eea1303c0b86974106038feb434f6b0f6 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Sat, 1 Mar 2003 12:32:20 +0000 Subject: [PATCH] display document type images in add document view --- presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc index 335ed59..ec13b65 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc @@ -10,7 +10,7 @@ function getDocumentListForFolder($fFolderID) { global $default; - $sQuery = "SELECT D.id AS id, D.folder_id AS folder_id, D.name AS name, COALESCE(MT.icon_path, '$default->graphicsUrl/star.gif') AS image_url " . + $sQuery = "SELECT D.id AS id, D.folder_id AS folder_id, D.name AS name, COALESCE(CONCAT('$default->graphicsUrl/', MT.icon_path), '$default->graphicsUrl/star.gif') AS image_url " . "FROM $default->owl_documents_table AS D LEFT OUTER JOIN $default->owl_mime_table AS MT ON D.mime_id = MT.id " . "WHERE folder_id = $fFolderID " . "ORDER BY name ASC"; -- libgit2 0.21.4