[Erp5-report] r24932 - in /erp5/trunk/bt5/erp5_web: SkinTemplateItem/portal_skins/erp5_web/...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 17 17:06:50 CET 2008


Author: vincent
Date: Wed Dec 17 17:06:49 2008
New Revision: 24932

URL: http://svn.erp5.org?rev=24932&view=rev
Log:
Do not rely on the current way of alias name generation. It should be enough to check that expected column is present.

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml
    erp5/trunk/bt5/erp5_web/bt/revision

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml?rev=24932&r1=24931&r2=24932&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml [utf8] Wed Dec 17 17:06:49 2008
@@ -141,7 +141,7 @@
 <dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw),\n
                                validation_state=validation_state, **kw)"\n
           is_translation_order_by="query[\'order_by_expression\'] is not None and\n
-            query[\'order_by_expression\'].startswith(\'related_translation_0.\')">\n
+            \'translated_message\' in query[\'order_by_expression\']">\n
 \n
 <dtml-comment>\n
   Currently, there is no other choice to implement this method as an SQL catalog until SQLCatalog \n
@@ -271,7 +271,7 @@
 <dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw),\n
                                validation_state=validation_state, **kw)"\n
           is_translation_order_by="query[\'order_by_expression\'] is not None and\n
-            query[\'order_by_expression\'].startswith(\'related_translation_0.\')">\n
+            \'translated_message\' in query[\'order_by_expression\']">\n
 \n
 <dtml-comment>\n
   Currently, there is no other choice to implement this method as an SQL catalog until SQLCatalog \n

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=24932&r1=24931&r2=24932&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision [utf8] Wed Dec 17 17:06:49 2008
@@ -1,1 +1,1 @@
-727
+728




More information about the Erp5-report mailing list