diff --git a/CHANGELOG b/CHANGELOG index 25e61daa8b..de60d22a5c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 --git a/src/window.js b/src/window.js index 914e5ae16c..27445a3b47 100644 --- a/src/window.js +++ b/src/window.js @@ -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')]);