From 221a0930c2d093d12776e3f1ce0345a1e34bc117 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 29 Apr 2009 08:29:01 +0000 Subject: [PATCH] Add src__ parameter to view the generated query git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26690 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 0a498a5fc8..096c5c5b8b 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 @@ -115,11 +115,12 @@ 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 + src__=src__,\n kw=kw)\n \n except Unauthorized:\n @@ -134,7 +135,7 @@ except Unauthorized:\n </item> <item> <key> <string>_params</string> </key> - <value> <string>language=None, validation_state=None, all_languages=False, all_versions=None, **kw</string> </value> + <value> <string>language=None, validation_state=None, all_languages=False, all_versions=None, src__=0, **kw</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -154,7 +155,7 @@ except Unauthorized:\n <dictionary> <item> <key> <string>co_argcount</string> </key> - <value> <int>4</int> </value> + <value> <int>5</int> </value> </item> <item> <key> <string>co_varnames</string> </key> @@ -164,6 +165,7 @@ except Unauthorized:\n <string>validation_state</string> <string>all_languages</string> <string>all_versions</string> + <string>src__</string> <string>kw</string> <string>zExceptions</string> <string>Unauthorized</string> @@ -189,6 +191,7 @@ except Unauthorized:\n <none/> <int>0</int> <none/> + <int>0</int> </tuple> </value> </item> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index d81f86143d..c843fcee2f 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -794 \ No newline at end of file +795 \ No newline at end of file -- 2.30.9