diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueListBase.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueListBase.xml index 745c97fafd68438c63c00ad0de82a435c1a0456b..e1ebf173daa83e3af1861c9e1808c712b2e4fd42 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueListBase.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueListBase.xml @@ -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> diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml index b7dc7163842426c674886d775ad6ed203d9da323..4e6268d47a81c8f3ad25d3e6cb933a484183228b 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml @@ -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 diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 0a91b8cce0d542c4b2269f156b8aa126351cf1c8..0be467d0c837327421c898ae8e86887424fe9395 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -797 \ No newline at end of file +800 \ No newline at end of file