Index: openacs-4/packages/wp-slim/www/index-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/index-postgresql.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/wp-slim/www/index-postgresql.xql 4 Oct 2001 04:23:13 -0000 1.1 +++ openacs-4/packages/wp-slim/www/index-postgresql.xql 13 Mar 2002 22:50:53 -0000 1.2 @@ -16,6 +16,7 @@ and ao.object_id = i.item_id and ao.creation_user = p.person_id and pres.public_p = 't' + and ao.context_id = :package_id @@ -31,6 +32,7 @@ where i.live_revision = p.presentation_id and ao.object_id = i.item_id and ao.creation_user = :user_id + and ao.context_id = :package_id @@ -51,6 +53,7 @@ and ao.creation_user <> :user_id and ao.creation_user = p.person_id and acs_permission__permission_p(i.item_id, :user_id, 'wp_view_presentation') = 't' + and ao.context_id = :package_id