From 28e6f82ba22c6bbcec41fbb3f6cac30869ef8cfb Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Tue, 15 Jul 2008 17:33:36 +0000 Subject: [PATCH] Added all_versions parameter. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22482 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_web/WebSection_getDocumentValueListBase.xml | 9 ++++++--- bt5/erp5_web/bt/revision | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) 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 239abf84d0..caa8c7c4a0 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 @@ -127,10 +127,11 @@ try:\n if validation_state is None:\n validation_state = (\'released\', \'released_alive\', \'published\', \'published_alive\', \\\n \'shared\', \'shared_alive\', \'public\', \'validated\')\n -\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 kw=kw)\n \n except Unauthorized:\n @@ -157,7 +158,7 @@ except Unauthorized:\n </item> <item> <key> <string>_params</string> </key> - <value> <string>language=None, validation_state=None, all_languages=False, **kw</string> </value> + <value> <string>language=None, validation_state=None, all_languages=False, all_versions=None, **kw</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -177,7 +178,7 @@ except Unauthorized:\n <dictionary> <item> <key> <string>co_argcount</string> </key> - <value> <int>3</int> </value> + <value> <int>4</int> </value> </item> <item> <key> <string>co_varnames</string> </key> @@ -186,6 +187,7 @@ except Unauthorized:\n <string>language</string> <string>validation_state</string> <string>all_languages</string> + <string>all_versions</string> <string>kw</string> <string>zExceptions</string> <string>Unauthorized</string> @@ -210,6 +212,7 @@ except Unauthorized:\n <none/> <none/> <int>0</int> + <none/> </tuple> </value> </item> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index ce7f605a46..8a2602231b 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -683 \ No newline at end of file +686 \ No newline at end of file -- 2.30.9