Index: openacs-4/packages/bookmarks/www/tree-dynamic-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/www/tree-dynamic-postgresql.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/bookmarks/www/tree-dynamic-postgresql.xql 8 Dec 2001 01:17:59 -0000 1.4 +++ openacs-4/packages/bookmarks/www/tree-dynamic-postgresql.xql 22 Sep 2003 16:21:36 -0000 1.5 @@ -22,9 +22,8 @@ select 1 from bm_bookmarks bm, bm_bookmarks bm2 where bm.tree_sortkey between bm2.tree_sortkey and tree_right(bm2.tree_sortkey) and bm2.bookmark_id = b.bookmark_id + and acs_permission__permission_p(bm.bookmark_id, :user_id, 'read') = 't' ) - and acs_permission__permission_p(bookmark_id, :user_id, 'read') = 't' - ) and b.bookmark_id <> :root_id order by b.tree_sortkey