Index: openacs-4/contrib/packages/project-manager/www/one-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/one-postgresql.xql,v diff -u -r1.12 -r1.13 --- openacs-4/contrib/packages/project-manager/www/one-postgresql.xql 4 Sep 2003 22:45:23 -0000 1.12 +++ openacs-4/contrib/packages/project-manager/www/one-postgresql.xql 4 Sep 2003 23:48:06 -0000 1.13 @@ -102,8 +102,7 @@ WHERE t.parent_id = :project_item_id and t.revision_id = i.live_revision - ORDER BY - t.end_date,t.title + [template::list::orderby_clause -name tasks -orderby] Index: openacs-4/contrib/packages/project-manager/www/one.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/one.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/contrib/packages/project-manager/www/one.tcl 4 Sep 2003 23:18:23 -0000 1.15 +++ openacs-4/contrib/packages/project-manager/www/one.tcl 4 Sep 2003 23:48:06 -0000 1.16 @@ -86,8 +86,6 @@ # Tasks, using list-builder --------------------------------- -db_multirow tasks project_tasks_query { } - if {$use_uncertain_completion_times_p} { set work_display_template "@tasks.estimated_hours_work_min@ - @tasks.estimated_hours_work_max@ h" } else { @@ -152,10 +150,13 @@ orderby_versions {} } \ -orderby { - title {orderby title,earliest_start} - percent_complete {orderby percent_complete,title} + title {orderby title} + percent_complete {orderby percent_complete} earliest_start {orderby earliest_start} - default_value earliest_start,desc + earliest_finish {orderby earliest_finish} + latest_start {orderby latest_start} + latest_finish {orderby latest_finish} + default_value earliest_start,asc } \ -orderby_name orderby_tasks \ -html {