Commit 743f3603 authored by Alexandre Goldstein's avatar Alexandre Goldstein
Browse files

fix searchHelper : update serialize when input type = number

parent da57fca4
Pipeline #14046 failed with stages
in 51 seconds
...@@ -838,10 +838,10 @@ ...@@ -838,10 +838,10 @@
if (value !== '') { if (value !== '') {
if (($(this).data('range') == 'start')) { if (($(this).data('range') == 'start')) {
var operation = ">="; var operation = ">=";
value = "(" + name + operation + "'" + dateConverted + "'"; value = "(" + name + operation + "'" + value + "'";
} else { } else {
var operation = "<="; var operation = "<=";
value = name + operation + "'" + dateConverted + "')"; value = name + operation + "'" + value + "')";
} }
value = name + operation + $(this).val(); value = name + operation + $(this).val();
......
Supports Markdown
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