Index: openacs-4/packages/bookmarks/bookmarks.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/bookmarks.info,v diff -u -N -r1.7 -r1.8 --- openacs-4/packages/bookmarks/bookmarks.info 12 Jul 2001 00:38:53 -0000 1.7 +++ openacs-4/packages/bookmarks/bookmarks.info 17 Jul 2001 01:52:44 -0000 1.8 @@ -65,7 +65,10 @@ + + + Index: openacs-4/packages/bookmarks/sql/postgresql/bookmarks-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/sql/postgresql/bookmarks-create.sql,v diff -u -N -r1.9 -r1.10 --- openacs-4/packages/bookmarks/sql/postgresql/bookmarks-create.sql 13 Jul 2001 00:43:36 -0000 1.9 +++ openacs-4/packages/bookmarks/sql/postgresql/bookmarks-create.sql 17 Jul 2001 01:52:44 -0000 1.10 @@ -122,7 +122,7 @@ select coalesce(max(tree_sortkey),'''') into v_parent_sk from bm_bookmarks - where parent_id = new.parent_id; + where bookmark_id = new.parent_id; end if; 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 -N -r1.4 -r1.5 --- openacs-4/packages/bookmarks/tcl/bookmarks-procs-postgresql.xql 12 Jul 2001 22:56:39 -0000 1.4 +++ openacs-4/packages/bookmarks/tcl/bookmarks-procs-postgresql.xql 17 Jul 2001 01:52:44 -0000 1.5 @@ -39,7 +39,7 @@ 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 Index: openacs-4/packages/bookmarks/www/bookmark-add-import.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/www/bookmark-add-import.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/bookmarks/www/bookmark-add-import.tcl 20 Apr 2001 20:51:09 -0000 1.1 +++ openacs-4/packages/bookmarks/www/bookmark-add-import.tcl 17 Jul 2001 01:52:44 -0000 1.2 @@ -41,7 +41,7 @@ } -# If we we are coming from a Bookmarklet there will be no viewe_user_id +# If we we are coming from a Bookmarklet there will be no viewed_user_id # supplied, but the browsing_user_id will do if { [empty_string_p $viewed_user_id] } { set viewed_user_id [ad_conn user_id] Index: openacs-4/packages/bookmarks/www/bookmark-add-one-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/www/bookmark-add-one-2.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/bookmarks/www/bookmark-add-one-2.tcl 20 Apr 2001 20:51:09 -0000 1.1 +++ openacs-4/packages/bookmarks/www/bookmark-add-one-2.tcl 17 Jul 2001 01:52:44 -0000 1.2 @@ -99,3 +99,6 @@ ad_returnredirect "$return_url" + + +