Length filter loses prepended custom filter value
Length filter loses prepended custom filter value
to recreate:
open your network panel in firebug or chrome to see the requests
change the custom filter #fundraiser_id, note that the header form_data shows the new selection you have made (i_fundraiser)
change the length filter to any new value
by looking at the header form_data, you will now see that the parameter has returned to its defaulted value
the offender appears to be
.prependTo("#example_length")
by commenting that out, it works fine
Im not sure whats going on here, I attempted to add the prepend to the table by drawCallback method, but the same problem exists
"drawCallback": function( settings ) {
$("#fr_dd")
.prependTo("#example_length")
.removeClass('hide');
},
Any thoughts?
Answers
-_-
i fixed this by prepending my custom filter to a custom div in my dom entry instead of to the length filter