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

projects/contexts list length, addresses ransome1/sleek#616 #636

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

zerodat
Copy link
Collaborator

@zerodat zerodat commented Jan 17, 2024

This code change to FilterQuery.js will address the problem described in issue #616. The old code worked with the todoObject as it behaved in version 1.2.9 of sleek, but fails in 2.0.6. I think that the old version must have represented missing projects or contexts as undefined or nil, while the new version represents this case as an empty list. This PR adds an explicit check of the length of the lists.

@zerodat zerodat merged commit 5c0f2f0 into ransome1:main Jan 17, 2024
@ransome1
Copy link
Owner

@zerodat lovely, I just checked it out and it works like a charm. Thanks for supporting once again.

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

Successfully merging this pull request may close these issues.

2 participants