[Erp5-report] r8573 - /erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 19 14:10:08 CEST 2006


Author: kevin
Date: Wed Jul 19 14:10:03 2006
New Revision: 8573

URL: http://svn.erp5.org?rev=8573&view=rev
Log:
Add a TODO comment about random result page issue

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewSearchResult.xml

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewSearchResult.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewSearchResult.xml?rev=8573&r1=8572&r2=8573&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewSearchResult.xml (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_viewSearchResult.xml Wed Jul 19 14:10:03 2006
@@ -68,8 +68,14 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>return context.WebSite_viewSearchResultList(**kw)\n
-</string> </value>
+            <value> <string encoding="cdata"><![CDATA[
+
+# TODO: Clear here the search_selection selection to not display a random result page but always the first one\n
+# -> this not fix the problem: context.portal_selections.setSelectionCheckedUidsFor(\'search_selection\', [])\n
+return context.WebSite_viewSearchResultList(**kw)\n
+
+
+]]></string> </value>
         </item>
         <item>
             <key> <string>_code</string> </key>
@@ -79,10 +85,6 @@
         </item>
         <item>
             <key> <string>_filepath</string> </key>
-            <value> <string>Script (Python):/nexedi/portal_skins/erp5_web/WebSite_viewSearchResult</string> </value>
-        </item>
-        <item>
-            <key> <string>_owner</string> </key>
             <value>
               <none/>
             </value>




More information about the Erp5-report mailing list