This question about Using an extension: Answered

Using ACTIONSEARCH of the ActionTrackerPlugin to display the today's activity

I started using the ActionTrackerPlugin recently and am setting up some ACTIONSEARCHes to display the activities based on when from "now" they are due.

While the following works to display the open action in the next 7 days:

%<nop>ACTIONSEARCH{ who="MichaelMell" state="open" within="7" }%

I am having problems doing an ACTIONSEARCH to display today's actions. I tried the following things without success:

1) %<nop>ACTIONSEARCH{ who="MichaelMell" state="open" within="0" }%

2) %<nop>ACTIONSEARCH{ who="MichaelMell" state="open" due="today" }%

3) %<nop>ACTIONSEARCH{ who="MichaelMell" state="open" due="now" }%

The first one does not work at all. E.g. nothing is displayed. The other two (2 and 3) don't behave as expected. The last two display all activities that are open a do not yet have a due-date yet. But they do not display the activities that have a date (including those of with "today"s date).

So I am not sure if I am using the search incorrectly or if this might be a bug.

Any comments are more than welcome!

The first question is: what are you searching for? My guess is you want to see a list of actions that are open, and will be late if they are not closed today. Right?

%<nop>ACTIONSEARCH{ who="MichaelMell" state="open" within="1" }%

is probably what you wanted. You may want to prefix '+' or '-' as described in the doc if that isn't quite right.

-- CrawfordCurrie - 10 Oct 2011

After chatting with CDot, I realised that the question was not clearly formulated. Sorry.

What I wanted is a search that will give me all the tasks which have the due-date set to today. My idea was to be able to create tasklist for the current day. That way I can, put those tasks, that I want to work on today on the list by giving them the date of today. I hope that explains more or less what I want to do. The answer to this is almost as above:

%<nop>ACTIONSEARCH{ who="MichaelMell" state="open" within="-1" }%

That seems to work for me. Thanks.

-- MichaelMell - 10 Oct 2011

QuestionForm edit

Subject Using an extension
Extension ActionTrackerPlugin
Version Foswiki 1.1.3
Status Answered
Related Topics
Topic revision: r3 - 10 Oct 2011, MichaelMell
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy