From 7f6dc08430edc3c97fefbdfe7662913e13736120 Mon Sep 17 00:00:00 2001 From: rob Date: Mon, 3 Feb 2003 08:01:00 +0000 Subject: [PATCH] Added aliasing on sql --- 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 f54b2df..2e6269e 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, COALESCE(MT.icon_path, '$default->owl_graphics_url/star.gif') AS image_url " . + $sQuery = "SELECT D.id AS id, D.folder_id AS folder_id, D.name AS name, COALESCE(MT.icon_path, '$default->owl_graphics_url/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