Commit 8f64705a authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Do not propagate search parameter if the value is empty

parent bc5a8359
......@@ -195,7 +195,13 @@
return search_gadget.getContent();\n
.push(function (data) {\n
return gadget.redirect({command: \'store_and_change\', options: {extended_search:, begin_from: undefined}});\n
var options = {\n
begin_from: undefined\n
if ( {\n
options.extended_search =;\n
return gadget.redirect({command: \'store_and_change\', options: options});\n
// Listen to form submit\n
......@@ -342,7 +348,7 @@
<key> <string>serial</string> </key>
<value> <string>947.821.64587.50432</string> </value>
<value> <string>947.22534.43106.37888</string> </value>
<key> <string>state</string> </key>
......@@ -360,7 +366,7 @@
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