From d82dc11ac02ba9d3bbc7c29224daf2077b344f2e Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 30 Jan 2008 17:01:58 +0000 Subject: [PATCH] Since r18736, sort on listbox column is now a POST and no longer a GET git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18931 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../ListBox_asWebStyleHTML.xml | 20 ++++++++++--------- bt5/erp5_web/bt/revision | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/ListBox_asWebStyleHTML.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/ListBox_asWebStyleHTML.xml index bfce0c4126..678715aa72 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/ListBox_asWebStyleHTML.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/ListBox_asWebStyleHTML.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -137,9 +134,13 @@ title python: value[1];\n sort_order python: value[2]">\n <th tal:condition="sql">\n - <a href="portal_selections/setSelectionQuickSortOrder?selection_name=default&sort_on=id&form_id=view"\n - tal:attributes="href string:portal_selections/setSelectionQuickSortOrder?selection_name=${selection_name}&sort_on=${sql}&form_id=${form_id}"\n - tal:content="title" i18n:domain="ui" i18n:translate=""/>\n + <button type="submit" class="sort_button"\n + name="setSelectionQuickSortOrder:method"\n + tal:attributes="title string:${title}; \n + value string:${field_id}.${sql}"\n + i18n:domain="ui" i18n:attributes="title">\n + <span tal:content="title" i18n:domain="ui" i18n:translate="">ID</span>\n + </button>\n <img tal:condition="python: sort_order == \'ascending\'"\n src="1bottomarrow.png" alt="Ascending Display" title="Ascending Display"\n tal:attributes="src string:${portal_url_string}/images/1bottomarrow.png"\n @@ -238,7 +239,8 @@ </tal:block>\n <!-- ListBox ends here -->\n \n -</tal:block> +</tal:block>\n + ]]></string> </value> </item> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index a0d1ef1a02..8ec9b982c4 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -620 \ No newline at end of file +622 \ No newline at end of file -- 2.30.9