Index: openacs.org-dev/packages/forums/www/forum-view-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/forum-view-postgresql.xql,v diff -u -r1.4 -r1.5 --- openacs.org-dev/packages/forums/www/forum-view-postgresql.xql 20 Sep 2002 00:55:52 -0000 1.4 +++ openacs.org-dev/packages/forums/www/forum-view-postgresql.xql 2 Nov 2002 13:57:03 -0000 1.5 @@ -14,7 +14,7 @@ from $forums_table fm1 where fm1.forum_id = :forum_id and fm1.tree_sortkey between tree_left(fm.tree_sortkey) and tree_right(fm.tree_sortkey)) as n_messages, - to_char(acs_objects.last_modified, 'Mon DD YYYY HH24:MI:SS') as last_modified, + to_char(acs_objects.last_modified, 'Mon DD YYYY FMHH24:MI') as last_modified, case when acs_objects.last_modified > (now() - 1) then 't' else 'f' end as new_p from forums_messages_approved fm, acs_objects Index: openacs.org-dev/packages/forums/www/forum-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/forum-view.tcl,v diff -u -r1.6 -r1.7 --- openacs.org-dev/packages/forums/www/forum-view.tcl 29 Oct 2002 03:58:17 -0000 1.6 +++ openacs.org-dev/packages/forums/www/forum-view.tcl 2 Nov 2002 13:57:03 -0000 1.7 @@ -74,7 +74,8 @@ set group [paginator get_group paginated_messages $page] -paginator get_context paginated_messages pages [paginator get_pages paginated_messages $group] +set pagelist [paginator get_pages paginated_messages $group] +paginator get_context paginated_messages pages $pagelist paginator get_context paginated_messages groups [paginator get_groups paginated_messages $group 10] set notification_chunk [notification::display::request_widget \ @@ -86,4 +87,3 @@ set context [list $forum(name)] -ad_return_template Index: openacs.org-dev/packages/forums/www/message-view-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/message-view-postgresql.xql,v diff -u -r1.1 -r1.2 --- openacs.org-dev/packages/forums/www/message-view-postgresql.xql 9 Jul 2002 17:35:09 -0000 1.1 +++ openacs.org-dev/packages/forums/www/message-view-postgresql.xql 2 Nov 2002 13:57:03 -0000 1.2 @@ -9,11 +9,13 @@ 0 as n_attachments, subject, content, + html_p, person__name(user_id) as user_name, to_char(posting_date, 'Mon DD YYYY HH24:MI:SS') as posting_date, tree_level(tree_sortkey) as tree_level, state, - user_id + user_id, + posting_date as posting_date_sort from $table_name where forum_id = :forum_id and tree_sortkey between tree_left(:tree_sortkey) and tree_right(:tree_sortkey) @@ -27,11 +29,13 @@ (select count(*) from attachments where object_id = message_id) as n_attachments, subject, content, + html_p, person__name(user_id) as user_name, to_char(posting_date, 'Mon DD YYYY HH24:MI:SS') as posting_date, tree_level(tree_sortkey) as tree_level, state, - user_id + user_id, + posting_date as posting_date_sort from $table_name where forum_id = :forum_id and tree_sortkey between tree_left(:tree_sortkey) and tree_right(:tree_sortkey) Index: openacs.org-dev/packages/forums/www/message-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/message-view.tcl,v diff -u -r1.5 -r1.6 --- openacs.org-dev/packages/forums/www/message-view.tcl 31 Oct 2002 00:01:06 -0000 1.5 +++ openacs.org-dev/packages/forums/www/message-view.tcl 2 Nov 2002 13:57:03 -0000 1.6 @@ -83,7 +83,7 @@ # More Tcl vars (we might as well use them - Ben) if {[string equal $forum(presentation_type) flat]} { - set order_by "posting_date, tree_sortkey" + set order_by "posting_date_sort, tree_sortkey" } else { set order_by "tree_sortkey" } Index: openacs.org-dev/packages/forums/www/search.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/search.tcl,v diff -u -r1.2 -r1.3 --- openacs.org-dev/packages/forums/www/search.tcl 5 Sep 2002 17:27:48 -0000 1.2 +++ openacs.org-dev/packages/forums/www/search.tcl 2 Nov 2002 13:57:03 -0000 1.3 @@ -43,6 +43,6 @@ set messages:rowcount 0 } -set context_bar {Search} +set context {Search} ad_return_template