wice_grid icon indicating copy to clipboard operation
wice_grid copied to clipboard

Broken Filters - query params concatenate if you filter again

Open golddiga opened this issue 8 years ago • 1 comments

Im facing an issue that if I filter and then change the filter the query params concatenate infinitely

Filter by Status = Active http://localhost:3001/users?grid%5Bf%5D%5Bstatus%5D%5B%5D=active

Change Filter to Status = Inactive http://localhost:3001/users?grid%5Bf%5D%5Bstatus%5D%5B%5D=active&grid%5Bf%5D%5Bstatus%5D%5B%5D=inactive

BTW Dropdown filters are not submitting anymore if you select a value. You have to click the Filter button or hit enter in another filter field.

using version v3.2.0.pre4

golddiga avatar Oct 21 '16 09:10 golddiga

I'm using the version 3.6.3 with rails 4.2.8 and I think I found the problem in this commit: https://github.com/leikind/wice_grid/pull/324/commits/74ef1e7dec2e0da8dfce97d15f62080f33a3a41c If I revert the changes I don't have this issue anymore

afdev82 avatar Mar 27 '17 13:03 afdev82