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

Ignore completed projects and tasks #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

everyonesdesign
Copy link

Here's a simple fix making the package ignore the completed tasks and projects

@aik099
Copy link

aik099 commented Oct 6, 2019

This has no effect for me. I've tried archiving project with all tasks together and tasks without projects in them. They still appear in the search results from Alfred.

@aik099
Copy link

aik099 commented Oct 6, 2019

Ah now I've get it. There are 2 loops:

  • 1st loop sees if project name have matched {query} and then lists all tasks in a project
  • 2nd loop sees if task name have matched {query) and then lists matched tasks in a project

You've only added protection to 1st loop (project name matching).

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