[Erp5-report] r12145 - /erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widg...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 18 23:14:54 CET 2007


Author: jp
Date: Thu Jan 18 23:14:53 2007
New Revision: 12145

URL: http://svn.erp5.org?rev=12145&view=rev
Log:
2007-01-18 JPS - support of group by

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/section_content_render.xml

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/section_content_render.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/section_content_render.xml?rev=12145&r1=12144&r2=12145&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/section_content_render.xml (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/section_content_render.xml Thu Jan 18 23:14:53 2007
@@ -53,7 +53,7 @@
   are published and linked with the current section through Predicate.\n
 --></tal:block>\n
 \n
-<ul tal:repeat="document python: request.current_web_section.getDocumentValueList()">\n
+<ul tal:repeat="document python: request.current_web_section.getDocumentValueList(group_by=(\'reference\',))">\n
   <li><a tal:attributes="href python: context.getPermanentURL(document)"\n
          tal:content="python: document.getProperty(\'translated_short_title\', None)\n
                               or document.getTranslatedTitleOrId()"/></li>\n
@@ -74,6 +74,10 @@
             <value> <string>section_content_render</string> </value>
         </item>
         <item>
+            <key> <string>isIndexable</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>




More information about the Erp5-report mailing list