Navigation:  Using iKog > Navigating through the tasks >

Applying a global filter

Previous pageReturn to chapter overviewNext page

When you list your tasks you can append a filter to the list command - See Applying a list filter.  Lets say you are at the computer and you only want to see the tasks with the @Computer context.  Then, instead of adding the filter every time you enter a command, you can apply a global filter.  To apply a filter just enter FILTER or FI followed by the filter.  Like the list command, the filter can be either a date, project, context or minimum priority.

 

Let's list our tasks and then apply a filter

>>>LIST

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[00] @Date 2006-08-10 Take the cat to the vet #5 @Anywhere [2006-08-01]

[01] Learn how to use this program #9 @Computer [2006-08-13]

[02] Buy ceramic tiles for the bathroom #5 @Anywhere Projects: Bathroom,

[2006-08-13]

[03] Visit the 43 folders website #5 @Computer [2006-08-13]

[04] Buy a new bath and taps #5 @Home Projects: Bathroom, [2006-08-13]

[05] @Date 2006-12-19 Buy birthday card for Joe #5 @Anywhere [2006-08-13]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>fi @c

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Filter = @c

[01] Learn how to use this program

 Priority: 09 

 Context: @Computer

 Created: [2006-08-13]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>LIST

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Filter = @c

[01] Learn how to use this program #9 @Computer [2006-08-13]

[03] Visit the 43 folders website #5 @Computer [2006-08-13]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>


Note how the filter not only applies to the list but also to the current task.  When you navigate through the tasks only those matching the filter will be displayed.


If you enter more than one term in your filter, then both terms must be matched.  So you can enter:

>>>FILTER @c @w

This will match items with a context of @Computer and @Work.


If you apply a list filter with the LIST or LIST> commands,  the filter from the FILTER command is applied as well.  So the tasks will need to match the list filter and the global filter.


from version 1.59

If you precede any filter term with the - character, then only tasks that do not match the filter term will be shown.