Index: openacs-4/packages/bookmarks/tcl/bookmarks-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/tcl/bookmarks-procs-postgresql.xql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/bookmarks/tcl/bookmarks-procs-postgresql.xql 17 Jul 2001 01:52:44 -0000 1.5 +++ openacs-4/packages/bookmarks/tcl/bookmarks-procs-postgresql.xql 30 Jul 2001 00:00:02 -0000 1.6 @@ -15,6 +15,7 @@ select tree_sortkey || '%' from bm_bookmarks where parent_id = :package_id + and owner_id = :user_id ) order by tree_sortkey ) @@ -34,12 +35,13 @@ select tree_sortkey || '%' from bm_bookmarks where parent_id = :package_id + and owner_id = :user_id ) and folder_p = 't' and owner_id = :user_id and bookmark_id <> :bookmark_id and parent_id <> :package_id - and acs_permission__permission_p(bookmark_id, :user_id, 'write') = 't' + and acs_permission__permission_p(:bookmark_id, :user_id, 'write') = 't' $exclude_folders order by tree_sortkey