ModelBinder shouldn't break if the sort field doesn't exist
kanadaj opened this issue · comments
The ModelBinder completely stops processing columns if a column is not found in the query; however, a column may be simply skipped inside the query with more sorting options following.
The line should be:
if (!Parse<int>(sortField, out _sortField)) continue;