Skip to content

Comments

Bug fix filter results#20

Open
ksharpeta wants to merge 2 commits intoa2design-inc:masterfrom
ksharpeta:bug-fix-filter-results
Open

Bug fix filter results#20
ksharpeta wants to merge 2 commits intoa2design-inc:masterfrom
ksharpeta:bug-fix-filter-results

Conversation

@ksharpeta
Copy link

Hello!

I found that "license" => nil vs. "license_key" => nil was not being detected in the result. Added an Integer check of the key in the filter_results method, because it appeared that it was trying to skip the indexes of arrays that were nil (0 => nil, 1 => nil), not actually trying to skip all keys with nil values ("license" => nil, "license_key" => nil).

I added a test for the scenario and all previous tests still are passing.

Let me know if there are any questions or concerns.

Ken

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.

2 participants