Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow columns that have value of 0 to be present #53

Merged
merged 1 commit into from
Mar 14, 2017
Merged

Allow columns that have value of 0 to be present #53

merged 1 commit into from
Mar 14, 2017

Conversation

ecodrutz
Copy link
Contributor

Since array filter considers 0= false, and '0' = false, if you have a column with values 0 and 1, you can't sort that column, as it will be filtered out.
using the strlen filter, you ensure that values like null,empty and false are removed, but you keep values that would be boolean false in php, but they shouldn't.

Since array filter considers 0= false, and '0' = false, if you have a column with values 0 and 1, you can't sort that column, as it will be filtered out.
using the strlen filter, you ensure that values like null,empty and false are removed, but you keep values that would be boolean false in php, but they shouldn't.
@Kyslik Kyslik self-assigned this Mar 14, 2017
@Kyslik Kyslik merged commit 017d3ff into Kyslik:L5.4 Mar 14, 2017
Kyslik added a commit that referenced this pull request Mar 14, 2017
@Kyslik
Copy link
Owner

Kyslik commented Mar 14, 2017

Should be in 5.4.3, thanks!

@Kyslik
Copy link
Owner

Kyslik commented Mar 20, 2017

Fixed in d5be2a0

Thank you all for hints :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants