Index: openacs-4/packages/attachments/www/go-to-attachment.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/go-to-attachment.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/attachments/www/go-to-attachment.xql 28 Aug 2003 09:41:46 -0000 1.4 +++ openacs-4/packages/attachments/www/go-to-attachment.xql 23 Aug 2006 12:46:57 -0000 1.5 @@ -10,13 +10,14 @@ - + - select r.title - from cr_revisions r, cr_items i + select r.title,i.name, o.package_id + from cr_revisions r, cr_items i, acs_objects o where i.item_id = :attachment_id and r.revision_id = i.live_revision + and i.item_id = o.object_id - +