Server Side Length Change Wipes Filter [Solved]
Server Side Length Change Wipes Filter [Solved]
I have a page that, if a county_id parameter is set in the URL, will filter the table based on which rows have that county. When I change the length of the table it resets the filter and all rows are shown. I have set all the sSearch parameters within fnServerParams so shouldn't it be using those parameters when the length is changed?
Edit: I was using pipelining and the function datatables initialization didn't use the server parameters from fnServerParams. I had to do aoData.push within the pipelining function itself in order for the parameters to be sent correctly.
Edit: I was using pipelining and the function datatables initialization didn't use the server parameters from fnServerParams. I had to do aoData.push within the pipelining function itself in order for the parameters to be sent correctly.
This discussion has been closed.