Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

ModelBinder shouldn't break if the sort field doesn't exist #64

Open
kanadaj opened this issue May 27, 2018 · 0 comments
Open

ModelBinder shouldn't break if the sort field doesn't exist #64

kanadaj opened this issue May 27, 2018 · 0 comments
Assignees
Labels
enhancement Describes an enhancement or an existing feature
Milestone

Comments

@kanadaj
Copy link

kanadaj commented May 27, 2018

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;

if (!Parse<int>(sortField, out _sortField)) break;

@ALMMa ALMMa self-assigned this Jun 17, 2021
@ALMMa ALMMa added the enhancement Describes an enhancement or an existing feature label Jun 17, 2021
@ALMMa ALMMa added this to the 3.0.0 milestone Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Describes an enhancement or an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants