Index: openacs-4/packages/xowiki/tcl/xowiki-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/Attic/xowiki-portlet-procs.tcl,v diff -u -r1.52 -r1.53 --- openacs-4/packages/xowiki/tcl/xowiki-portlet-procs.tcl 14 May 2007 13:27:33 -0000 1.52 +++ openacs-4/packages/xowiki/tcl/xowiki-portlet-procs.tcl 15 May 2007 07:34:12 -0000 1.53 @@ -422,7 +422,7 @@ } else { set tree_select_clause "" } - ::xo::db::limit_query -limit $max_entries -sql -order + ::xo::db::sql limit_select -limit $max_entries -sql -order db_foreach [my qn get_pages] \ "select c.category_id, ci.name, r.title, \ to_char(r.publish_date,'YYYY-MM-DD HH24:MI:SS') as publish_date \