Closed VictorioBerra closed 6 years ago
The fix should be to add some null checks.
model[$"columns[{i}][search][value]"] = Columns[i].Search?.Value;
model[$"columns[{i}][search][regex]"] = Columns[i].Search?.Regex.ToString();
Thank you! The fix is included in 1.7.2.
If you use the
DataTablesAjaxPostModel
theToNameValueCollection
forces you to provide a search object, even if you just want to order and not search.