From 58ddbf1835956a632f7f656f806b0257f5ed632f Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Tue, 18 Nov 2008 18:13:34 +0000
Subject: [PATCH] display only File and Image portal_type in AttachmentView

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24625 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_egov/PDFDocument_getReportSectionList.xml | 2 +-
 bt5/erp5_egov/bt/revision                                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_getReportSectionList.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_getReportSectionList.xml
index f370a7b4a2..11e83eb886 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_getReportSectionList.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_getReportSectionList.xml
@@ -64,7 +64,7 @@ file_type_list = (\'Image\', \'File\')\n
 sub_form_type_list = filter(lambda x: x not in file_type_list, type_list)\n
 \n
 # A simple solution: use title to group\n
-viewable_content_list = context.contentValues(portal_type=type_list, checked_permission=\'View\')\n
+viewable_content_list = context.contentValues(portal_type=file_type_list, checked_permission=\'View\')\n
 content_group_dict = {}\n
 for content in viewable_content_list:\n
   title = content.getTitle()\n
diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision
index 13ef0a79b8..a21cae3648 100644
--- a/bt5/erp5_egov/bt/revision
+++ b/bt5/erp5_egov/bt/revision
@@ -1 +1 @@
-453
\ No newline at end of file
+454
\ No newline at end of file
-- 
2.30.9