From ad51de0fec2e2733e77d04f1b692ff18cecceb9c Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 29 Apr 2009 11:47:04 +0000
Subject: [PATCH] use Base_viewFieldLibrary instead of
 BankAccount_viewFieldLibrary as a proxy target.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26709 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_core/ERP5Site_viewSearchResult/listbox.xml      | 9 +++++++--
 product/ERP5/bootstrap/erp5_core/bt/revision             | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewSearchResult/listbox.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewSearchResult/listbox.xml
index b78a1606ed..1245f31d77 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewSearchResult/listbox.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewSearchResult/listbox.xml
@@ -17,6 +17,7 @@
                 <string>css_class</string>
                 <string>columns</string>
                 <string>list_method</string>
+                <string>count_method</string>
                 <string>selection_name</string>
                 <string>portal_types</string>
                 <string>default_params</string>
@@ -114,6 +115,10 @@
                       </list>
                     </value>
                 </item>
+                <item>
+                    <key> <string>count_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>css_class</string> </key>
                     <value> <string>hidden_label</string> </value>
@@ -137,11 +142,11 @@
                 </item>
                 <item>
                     <key> <string>field_id</string> </key>
-                    <value> <string>listbox</string> </value>
+                    <value> <string>my_list_mode_listbox</string> </value>
                 </item>
                 <item>
                     <key> <string>form_id</string> </key>
-                    <value> <string>BankAccount_viewFieldLibrary</string> </value>
+                    <value> <string>Base_viewFieldLibrary</string> </value>
                 </item>
                 <item>
                     <key> <string>list_action</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 3352d4fe15..0d30c07f65 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1176
\ No newline at end of file
+1189
\ No newline at end of file
-- 
2.30.9