Commit 45c26059 authored by Romain Courteaud's avatar Romain Courteaud

validation_state parameter is useless, as it can be handle by the km parameter

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26715 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent afec3569
......@@ -116,10 +116,10 @@ try:\n
validation_state = (\'released\', \'released_alive\', \'published\', \n
\'published_alive\', \'shared\', \'shared_alive\', \n
\'public\', \'validated\')\n
kw[\'validation_state\'] = validation_state\n
\n
return current_section.WebSection_zGetDocumentValueList(language=language,\n
all_languages=all_languages,\n
validation_state=validation_state,\n
all_versions=all_versions,\n
src__=src__,\n
kw=kw)\n
......@@ -176,6 +176,7 @@ except Unauthorized:\n
<string>context</string>
<string>current_section</string>
<string>None</string>
<string>_write_</string>
</tuple>
</value>
</item>
......
......@@ -55,17 +55,6 @@
<dictionary/>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value>
<dictionary>
<item>
<key> <string>type</string> </key>
<value> <string>list</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</value>
</item>
......@@ -76,7 +65,6 @@
<string>language</string>
<string>all_languages</string>
<string>all_versions</string>
<string>validation_state</string>
<string>kw</string>
</list>
</value>
......@@ -97,7 +85,6 @@
<value> <string>language\r\n
all_languages\r\n
all_versions\r\n
validation_state:list\r\n
kw</string> </value>
</item>
<item>
......@@ -138,8 +125,7 @@ kw</string> </value>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw),\n
validation_state=validation_state, **kw)"\n
<dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw), **kw)"\n
is_translation_order_by="query[\'order_by_expression\'] is not None and\n
\'translated_message\' in query[\'order_by_expression\']">\n
\n
......@@ -163,7 +149,6 @@ kw</string> </value>
<dtml-if is_translation_order_by>\n
, catalog.translated_message\n
</dtml-if>\n
\n
FROM\n
(\n
SELECT\n
......@@ -283,8 +268,7 @@ kw</string> </value>
<key> <string>raw</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw),\n
validation_state=validation_state, **kw)"\n
<dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw), **kw)"\n
is_translation_order_by="query[\'order_by_expression\'] is not None and\n
\'translated_message\' in query[\'order_by_expression\']">\n
\n
......@@ -308,7 +292,6 @@ kw</string> </value>
<dtml-if is_translation_order_by>\n
, catalog.translated_message\n
</dtml-if>\n
\n
FROM\n
(\n
SELECT\n
......
797
\ No newline at end of file
800
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment