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 -N -r1.6 -r1.6.10.1 --- openacs-4/packages/attachments/www/go-to-attachment.xql 15 May 2007 20:14:19 -0000 1.6 +++ openacs-4/packages/attachments/www/go-to-attachment.xql 11 Jul 2019 16:38:53 -0000 1.6.10.1 @@ -21,4 +21,18 @@ + + + select r.title, + o.package_id, + m.file_extension + from cr_revisions r, + acs_objects o, + cr_mime_types m + where revision_id = :attachment_id + and r.revision_id = o.object_id + and m.mime_type= r.mime_type + + +