From cff80c42e44927046cc95b251df5a726d4267840 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 30 Mar 2009 16:15:42 +0000
Subject: [PATCH] Fix method name existence, as some object may have
 getDocumentValue and not getDocumentValueList

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

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getSearchResultList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getSearchResultList.xml
index 81d0d68619..473de53747 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getSearchResultList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getSearchResultList.xml
@@ -53,7 +53,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>if getattr(context, \'getDocumentValue\', None) is not None:\n
+            <value> <string>if getattr(context, \'getDocumentValueList\', None) is not None:\n
   return context.getDocumentValueList(**kw)\n
 return context.portal_catalog(**kw)\n
 </string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 163dda977a..5f798c1c27 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1135
\ No newline at end of file
+1136
\ No newline at end of file
-- 
2.30.9