[Erp5-report] r34846 jerome - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 29 09:35:15 CEST 2010


Author: jerome
Date: Thu Apr 29 09:35:12 2010
New Revision: 34846

URL: http://svn.erp5.org?rev=34846&view=rev
Log:
allow searching in Document tab

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml?rev=34846&r1=34845&r2=34846&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml [utf8] Thu Apr 29 09:35:12 2010
@@ -53,13 +53,16 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>sub_document_list = context.portal_catalog(\n
+            <value> <string>kw.pop(\'relative_url\', None)\n
+kw.pop(\'follow_up_uid\', None)\n
+\n
+sub_document_list = context.portal_catalog(\n
            portal_type=portal_type,\n
-           relative_url=\'%s/%%\' % context.getRelativeUrl())\n
+           relative_url=\'%s/%%\' % context.getRelativeUrl(), **kw)\n
 \n
 follow_up_related_document_list = context.portal_catalog(\n
            portal_type=portal_type,\n
-           follow_up_uid=context.getUid())\n
+           follow_up_uid=context.getUid(), **kw)\n
 \n
 if not sub_document_list:\n
   return follow_up_related_document_list\n
@@ -107,6 +110,8 @@
                             <string>portal_type</string>
                             <string>kw</string>
                             <string>_getattr_</string>
+                            <string>None</string>
+                            <string>_apply_</string>
                             <string>context</string>
                             <string>sub_document_list</string>
                             <string>follow_up_related_document_list</string>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=34846&r1=34845&r2=34846&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Thu Apr 29 09:35:12 2010
@@ -1,1 +1,1 @@
-1572
+1573




More information about the Erp5-report mailing list