diff --git a/presentation/lookAndFeel/knowledgeTree/foldermanagement/addFolderDocTypeUI.inc b/presentation/lookAndFeel/knowledgeTree/foldermanagement/addFolderDocTypeUI.inc index e85e182..02c1a4b 100644 --- a/presentation/lookAndFeel/knowledgeTree/foldermanagement/addFolderDocTypeUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/foldermanagement/addFolderDocTypeUI.inc @@ -53,7 +53,8 @@ function getDocumentTypeDropDown($iDocumentTypeID, $iFolderID) { $oPatternListBox->setQuery("SELECT DTL.name AS display, DTL.id AS value " . "FROM $default->document_types_table AS DTL " . "LEFT OUTER JOIN $default->folder_doctypes_table AS FDL ON FDL.document_type_id = DTL.id AND FDL.folder_id = $iFolderID " . - "WHERE folder_id IS NULL"); + "WHERE folder_id IS NULL " . + "ORDER BY DTL.name"); $oPatternListBox->setSelectName("fDocumentTypeID"); $oPatternListBox->setIncludeDefaultValue(false); if (isset($iDocumentTypeID)) {