Commit 3f7a5836 authored by Łukasz Nowak's avatar Łukasz Nowak

deferred_style: save Localizer selected language earlier

This is manual cherry=pick of 9debeb6e,
due to BT5 format change.
parent 58f36821
......@@ -91,6 +91,7 @@ for k, v in request.items():\n
request_other[k] = v\n
\n
\n
localizer_language = portal.Localizer.get_selected_language()\n
\n
context.activate(activity="SQLQueue", tag=tag, \n
priority=priority).Base_computeReportSection(\n
......@@ -100,7 +101,8 @@ context.activate(activity="SQLQueue", tag=tag, \n
tag=tag,\n
skin_name=skin_name, \n
format=format,\n
priority=priority, \n
priority=priority,\n
localizer_language=localizer_language,\n
**kw)\n
\n
context.activate(activity=\'SQLQueue\', after_tag=tag).getTitle()\n
......
......@@ -82,7 +82,6 @@ for k, v in request.items():\n
continue\n
request_other[k] = v\n
\n
localizer_language = portal.Localizer.get_selected_language()\n
active_process = portal.portal_activities.newActiveProcess()\n
\n
for idx, report_section in enumerate(report_section_list):\n
......@@ -120,7 +119,7 @@ activity_context.activate(activity=\'SQLQueue\', after_tag=tag, priority=priorit
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>form, request_other, user_name, tag, skin_name, format, priority, **kw</string> </value>
<value> <string>form, request_other, user_name, tag, skin_name, format, priority, localizer_language, **kw</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
......
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