vpllan / jQuery.dataTables.oData

jQuery dataTables OData connector
http://vpllan.github.io/jQuery.dataTables.oData/
31 stars 20 forks source link

Fix bug where @odata.count is always used for iCount #1

Closed hartez closed 10 years ago

hartez commented 10 years ago

When data["@odata.count"] is undefined, the comparison (data["@odata.count"] !== null) returns 'true' and the fall through to the other cases in the ternary doesn't happen.