From 20045349ce2dadc58289cbde10acd65a983d06e3 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Wed, 6 Aug 2008 09:39:37 +0000
Subject: [PATCH] Added more columns to the listbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22891 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Entity_viewDocumentList/listbox.xml       | 55 ++++++++++---------
 bt5/erp5_dms/bt/revision                      |  2 +-
 2 files changed, 30 insertions(+), 27 deletions(-)

diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Entity_viewDocumentList/listbox.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Entity_viewDocumentList/listbox.xml
index 0620747873..f9a8b7fd7f 100644
--- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Entity_viewDocumentList/listbox.xml
+++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Entity_viewDocumentList/listbox.xml
@@ -68,12 +68,6 @@
                     <key> <string>form_id</string> </key>
                     <value> <string></string> </value>
                 </item>
-                <item>
-                    <key> <string>list_action</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string></string> </value>
@@ -130,10 +124,38 @@
                           <string>translated_portal_type</string>
                           <string>Type</string>
                         </tuple>
+                        <tuple>
+                          <string>reference</string>
+                          <string>Reference</string>
+                        </tuple>
+                        <tuple>
+                          <string>version</string>
+                          <string>Version</string>
+                        </tuple>
+                        <tuple>
+                          <string>language</string>
+                          <string>Language</string>
+                        </tuple>
+                        <tuple>
+                          <string>revision</string>
+                          <string>Revision</string>
+                        </tuple>
+                        <tuple>
+                          <string>short_title</string>
+                          <string>Short Title</string>
+                        </tuple>
                         <tuple>
                           <string>description</string>
                           <string>Description</string>
                         </tuple>
+                        <tuple>
+                          <string>int_index</string>
+                          <string>Index</string>
+                        </tuple>
+                        <tuple>
+                          <string>translated_validation_state_title</string>
+                          <string>State</string>
+                        </tuple>
                       </list>
                     </value>
                 </item>
@@ -159,7 +181,7 @@
                 <item>
                     <key> <string>list_method</string> </key>
                     <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
                     </value>
                 </item>
                 <item>
@@ -181,25 +203,6 @@
     </pickle>
   </record>
   <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string>python:\'Folder_viewContentList?\' + modules[\'ZTUtils\'].make_query(portal_type=[x[0] for x in field.get_value(\'portal_types\')])</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
       <tuple>
         <global name="Method" module="Products.Formulator.MethodField"/>
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index d17ea3a7d5..11758cc314 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-908
\ No newline at end of file
+909
\ No newline at end of file
-- 
2.30.9