You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the property "doubleAge" is defined as a function. DataTables will execute the function to retrieve the property value. For the "select" filter type, yadcf works properly and filters the data properly. For the range filters however, yadcf doesn't filter at all.
This appears to be because the dot2obj function has the following code
This doesn't consider that a property may be a function. Consequently, the filter is comparing against the function definition rather than the result of the function invocation.
The text was updated successfully, but these errors were encountered:
cpdog
added a commit
to cpdog/yadcf
that referenced
this issue
Jun 25, 2020
See:
http://live.datatables.net/ziqipodu/1
Note that the property "doubleAge" is defined as a function. DataTables will execute the function to retrieve the property value. For the "select" filter type, yadcf works properly and filters the data properly. For the range filters however, yadcf doesn't filter at all.
This appears to be because the
dot2obj
function has the following codeThis doesn't consider that a property may be a function. Consequently, the filter is comparing against the function definition rather than the result of the function invocation.
The text was updated successfully, but these errors were encountered: