[Erp5-report] r36727 ivan - in /erp5/trunk/bt5/erp5_base: SkinTemplateItem/portal_skins/erp...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 30 13:08:19 CEST 2010


Author: ivan
Date: Wed Jun 30 13:08:15 2010
New Revision: 36727

URL: http://svn.erp5.org?rev=36727&view=rev
Log:
Delegate getting searchable text to new  script .Base_getSearchText.

Modified:
    erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_getSummaryAsHTML.xml
    erp5/trunk/bt5/erp5_base/bt/revision

Modified: erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_getSummaryAsHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_getSummaryAsHTML.xml?rev=36727&r1=36726&r2=36727&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_getSummaryAsHTML.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_getSummaryAsHTML.xml [utf8] Wed Jun 30 13:08:15 2010
@@ -90,11 +90,8 @@ title = context.getTitle() or (hasattr(c
 portal_type = context.getTranslatedPortalType()\n
 website = context.getWebSiteValue() or context.REQUEST.get(\'current_web_site\')\n
 popup = context.Document_getPopupInfo(context.REQUEST.get(\'current_web_site\')) or \'\'\n
-selection = None\n
-selection_name = context.REQUEST.get("selection_name", None)\n
-if selection_name is not None:\n
-  selection = context.portal_selections.getSelectionFor(selection_name)\n
-found = context.Base_showFoundText(selection=selection)\n
+\n
+found = context.Base_showFoundText()\n
 owner_html = getOwnerHTML(context) or \'\'\n
 \n
 date_renderer = context.ERP5Site_viewSearchResult.listbox_modification_date.render_pdf\n
@@ -107,7 +104,6 @@ local_parameter_dict = {\n
   \'reference_html\': getReferenceHTML(context),\n
   \'portal_type\': portal_type,\n
   \'popup\': popup,\n
-  \'selection\': selection,\n
   \'found\': found,\n
   \'owner_html\': owner_html,\n
   \'modification_date\': modification_date,\n
@@ -197,9 +193,6 @@ return html\n
                             <string>title</string>
                             <string>portal_type</string>
                             <string>popup</string>
-                            <string>None</string>
-                            <string>selection</string>
-                            <string>selection_name</string>
                             <string>found</string>
                             <string>owner_html</string>
                             <string>date_renderer</string>

Modified: erp5/trunk/bt5/erp5_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/revision?rev=36727&r1=36726&r2=36727&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/revision [utf8] Wed Jun 30 13:08:15 2010
@@ -1 +1 @@
-780
\ No newline at end of file
+782
\ No newline at end of file




More information about the Erp5-report mailing list