[Erp5-report] r28538 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Aug 21 11:31:50 CEST 2009
Author: kazuhiko
Date: Fri Aug 21 11:31:49 2009
New Revision: 28538
URL: http://svn.erp5.org?rev=28538&view=rev
Log:
Fix script again after changes in r28412 to keep current behaviour (list style for search results in non-web mode).
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewQuickSearchResultList.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewQuickSearchResultList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewQuickSearchResultList.xml?rev=28538&r1=28537&r2=28538&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewQuickSearchResultList.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_viewQuickSearchResultList.xml [utf8] Fri Aug 21 11:31:49 2009
@@ -66,14 +66,13 @@
else:\n
kw.update({\'portal_type\':context.Base_translateString(field_your_search_portal_type)})\n
\n
-getWebSectionValue = getattr(context, \'getWebSectionValue\', None)\n
-if getWebSectionValue is not None and \\\n
+web_section = context.getWebSectionValue()\n
+if web_section is not None and \\\n
not bool(context.REQUEST.get(\'ignore_layout\', False)):\n
- search_context = getWebSectionValue()\n
+ search_context = web_section\n
if list_style is None:\n
kw.update({\'list_style\':\'search\'})\n
-\n
-if search_context is None:\n
+else:\n
search_context = context.getPortalObject()\n
\n
return search_context.Base_redirect(\'ERP5Site_viewSearchResult\', keep_items=kw)\n
@@ -121,9 +120,8 @@
<string>_getattr_</string>
<string>list</string>
<string>context</string>
- <string>getattr</string>
+ <string>web_section</string>
<string>None</string>
- <string>getWebSectionValue</string>
<string>bool</string>
<string>False</string>
<string>search_context</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=28538&r1=28537&r2=28538&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Fri Aug 21 11:31:49 2009
@@ -1,1 +1,1 @@
-1281
+1282
More information about the Erp5-report
mailing list