Skip to content

Allow order by number field correctly #1616

Merged
bobdenotter merged 3 commits intomasterfrom
bugfix/order-by-number-field
Jul 10, 2020
Merged

Allow order by number field correctly #1616
bobdenotter merged 3 commits intomasterfrom
bugfix/order-by-number-field

Conversation

@I-Valchev
Copy link
Copy Markdown
Member

@I-Valchev I-Valchev commented Jul 7, 2020

Fixes #1356

Order by number field now casts the field value to int, so that the order by operates on numeric values.

Copy link
Copy Markdown
Member

@bobdenotter bobdenotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some coercion PHPStan isn't compaining anymore. 👍

@bobdenotter bobdenotter merged commit 2070d8f into master Jul 10, 2020
@bobdenotter bobdenotter deleted the bugfix/order-by-number-field branch July 10, 2020 12:09
@bobdenotter bobdenotter changed the title Order by number field Order by number field Jul 11, 2020
@bobdenotter bobdenotter changed the title Order by number field Allow order by number field correctly Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setcontent order by integer doesn't sort properly

2 participants