Index: openacs-4/packages/forums/lib/message/thread-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/thread-chunk.tcl,v diff -u -r1.5.6.3 -r1.5.6.4 --- openacs-4/packages/forums/lib/message/thread-chunk.tcl 27 Jun 2007 13:23:31 -0000 1.5.6.3 +++ openacs-4/packages/forums/lib/message/thread-chunk.tcl 28 Jun 2007 11:26:17 -0000 1.5.6.4 @@ -78,11 +78,7 @@ # More Tcl vars (we might as well use them - Ben) if { [string equal $forum(presentation_type) flat] } { - if { [db_type] == "postgresql" } { - set order_by "t.posting_date, tree_sortkey" - } else { - set order_by "posting_date, tree_sortkey" - } + set order_by "t.posting_date, tree_sortkey" } else { set order_by "tree_sortkey" }