Skip to content

Commit

Permalink
Merge pull request #1002 from marvinhinz/patch-1
Browse files Browse the repository at this point in the history
Fix ajax grid filtering - value not urlencoded
  • Loading branch information
romainguerrero authored Apr 2, 2020
2 parents a0466ae + 2d68e2d commit 06ae939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/views/blocks_js.jquery.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ function {{ grid.hash }}_submitForm(event, form)
if ($(this).attr('multiple') == 'multiple') {
for(var i= 0; i < value.length; i++)
{
data += '&' + name + '=' + value[i];
data += '&' + name + '=' + encodeURIComponent(value[i]);
}
} else {
data += '&' + name + '=' + value;
data += '&' + name + '=' + encodeURIComponent(value);
}
} else {
data += '&' + name + '=';
Expand Down

0 comments on commit 06ae939

Please sign in to comment.