Index: openacs-4/packages/project-manager/lib/tasks-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks-portlet.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/project-manager/lib/tasks-portlet.tcl 10 Aug 2006 09:18:09 -0000 1.10 +++ openacs-4/packages/project-manager/lib/tasks-portlet.tcl 11 Aug 2006 14:56:17 -0000 1.11 @@ -18,6 +18,10 @@ } } +if {![info exists orderby_p]} { + set orderby_p 0 +} + # Set default format to table view if {![info exists format]} { set format "normal" Index: openacs-4/packages/project-manager/lib/tasks-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks-postgresql.xql,v diff -u -r1.26 -r1.27 --- openacs-4/packages/project-manager/lib/tasks-postgresql.xql 10 Aug 2006 09:18:09 -0000 1.26 +++ openacs-4/packages/project-manager/lib/tasks-postgresql.xql 11 Aug 2006 14:56:17 -0000 1.27 @@ -39,6 +39,7 @@ [template::list::page_where_clause -and -name "tasks" -key "ci.item_id"]) t, pm_tasks_active ti, pm_task_status s, + $observer_from_clause cr_items cp, acs_objects op where t.parent_id = cp.item_id and Index: openacs-4/packages/project-manager/lib/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks.tcl,v diff -u -r1.58 -r1.59 --- openacs-4/packages/project-manager/lib/tasks.tcl 10 Aug 2006 09:18:09 -0000 1.58 +++ openacs-4/packages/project-manager/lib/tasks.tcl 11 Aug 2006 14:56:17 -0000 1.59 @@ -58,11 +58,11 @@ } } -if ![exists_and_not_null page_size] { +if {![exists_and_not_null page_size]} { set page_size 10000 } -if ![info exists orderby_p] { +if {![info exists orderby_p]} { set orderby_p 0 } @@ -81,16 +81,16 @@ } -if ![info exists display_mode] { +if {![info exists display_mode]} { set display_mode "all" } -if ![info exists format] { +if {![info exists format]} { set format "normal" } # the unique identifier for this package -if ![info exists package_id] { +if {![info exists package_id]} { set package_id [ad_conn package_id] }