changeset 3646789f171f in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=3646789f171f
description:
Add context to export URL
issue9304
review317361002
diffstat:
CHANGELOG | 1 +
src/window.js | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r d85f3d8113a7 -r 3646789f171f CHANGELOG
--- a/CHANGELOG Tue May 19 19:32:20 2020 +0200
+++ b/CHANGELOG Tue May 19 19:36:09 2020 +0200
@@ -1,3 +1,4 @@
+* Add context to export URL
* Allow changes to editable tree checkboxes without first selecting the line
Version 5.6.0 - 2020-05-04
diff -r d85f3d8113a7 -r 3646789f171f src/window.js
--- a/src/window.js Tue May 19 19:32:20 2020 +0200
+++ b/src/window.js Tue May 19 19:36:09 2020 +0200
@@ -1909,6 +1909,11 @@
}
query_string.splice(
0, 0, ['d', JSON.stringify(Sao.rpc.prepareObject(domain))]);
+ if (!jQuery.isEmptyObject(this.screen.local_context)) {
+ query_string.push(
+ ['c', JSON.stringify(Sao.rpc.prepareObject(
+ this.screen.local_context))]);
+ }
this.fields_selected.children('li').each(function(i, field) {
query_string.push(['f', field.getAttribute('path')]);