From a5f331ba84f2e6130d944bdc763e04e197558ab3 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Tue, 27 May 2003 14:53:59 +0000 Subject: [PATCH] show mosts recent document action first --- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc index 07cf02a..1f238d7 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc @@ -34,7 +34,7 @@ function getDocumentHistory($iDocumentID) { $sQuery = "SELECT DTT.name AS transaction_name, U.name AS user_name, DT.version AS version, DT.comment AS comment, DT.datetime AS datetime " . "FROM $default->owl_document_transactions_table AS DT INNER JOIN $default->owl_users_table AS U ON DT.user_id = U.id " . "INNER JOIN $default->owl_transaction_types_table AS DTT ON DTT.id = DT.transaction_id " . - "WHERE DT.document_id = $iDocumentID"; + "WHERE DT.document_id = $iDocumentID ORDER BY DT.datetime DESC"; $sql = $default->db; $sToRender = "\n"; $sToRender .= "\n"; -- libgit2 0.21.4
Transaction History