Item11544: ActionTrackerPlugin does not allow for a query search excluding actions without a due date
Priority: Enhancement
Current State: Proposal Required
Released In: n/a
Target Release: n/a
Crawford, this is to keep track of my question on IRC, and to provide you with my findings.
[10:50] RaulFR just a quick question, if you have a quick answer
[10:51] RaulFR how would you construct a ACTIONSEARCH query for actions *without* a due date (in your ActionTrackerPlugin)
[10:51] RaulFR otherwise, I will just scratch my head some more, hopefully something will come out
[10:54] CDot RaulFR: I'd have to read the documentation (no answer off the top of my head) so get scratching....... will be back l8r
[10:54] RaulFR when you search for actions with somthing like %ACTIONSEARCH{ web="%WEB%" who="%WIKINAME%" state="open" sort="$due" format="(...), the actions without a due date come first in the table produced. That's is fine. But since this type of actions tends to grow with certain users, I would like to be able to make two search queries for separaing these two types of actions
[10:54] RaulFR ok, not a problem
[10:55] RaulFR I was just asking in case you had an quick answer
[10:55] |<-- CDot has left freenode (Quit: Leaving.)
(...)
[11:43] RaulFR CDot: in case you see the logs of IRC. According to http://foswiki.org/Extensions/ActionTrackerPlugin you can create an action without a due date. You calll that : due on a 'to be decided' (TBD) date. You say "TBD actions are always shown in action searches, to help encourage you to timeframe them."
[11:46] RaulFR CDot: so in case a user has, say 20 actions without a due date, and he wants to search for one action with a specific due date, he gets as a result the 20 actions without a due date listed in the result and the 21st will be actually the result he was looking for
[11:46] RaulFR CDot: this is a quite annonying behaviour
[11:50] RaulFR CDot: the results the user is getting are mostly irrelevant, and there is apparently no way to avoid that (I didn't check the Plugin's code though), since the documentation says that "TBD actions are always shown in action searches, to help encourage you to timeframe them."
[11:52] RaulFR CDot: a working search query to get the ACTIONS without a due date could be: %ACTIONSEARCH{ web="%WEB%" who="%WIKINAME%" state="open" due="" sort="$text" format="(...)
[11:53] RaulFR CDot: but it looks like there is no way to make a search query limited to actions *having* a due date, and that this is by design
[11:53] RaulFR anyway, I'll open a task with the contents of my findings above
--
RaulFRodriguez - 21 Feb 2012
Yeah, it's by design, and I'm unlikely to change it any time soon. Of course if you can find a nice way around this, I will listen.
--
CrawfordCurrie - 21 Feb 2012