Commit cdf041b9 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Be sure to drop search query if empty

parent 4b2b777d
...@@ -200,6 +200,8 @@ ...@@ -200,6 +200,8 @@
};\n };\n
if (data.search) {\n if (data.search) {\n
options.extended_search = data.search;\n options.extended_search = data.search;\n
} else {\n
options.extended_search = undefined;\n
}\n }\n
return gadget.redirect({command: \'store_and_change\', options: options});\n return gadget.redirect({command: \'store_and_change\', options: options});\n
});\n });\n
...@@ -348,7 +350,7 @@ ...@@ -348,7 +350,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>947.22534.43106.37888</string> </value> <value> <string>947.22536.41002.36352</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -366,7 +368,7 @@ ...@@ -366,7 +368,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1448467717.52</float> <float>1448469230.79</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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