[nag] selecting from a large number of to-dos

Michael J Rubinsky mrubinsk at horde.org
Tue Jul 28 00:22:23 UTC 2015


Quoting Sebastian Birnbach <birnbacs at gmail.com>:

> I want to display a user's open tasks over the next month and also the
> completed tasks over a few weeks back. I imagine a scenario where the user
> has a couple of thousand completed tasks (over the past few years) and a
> few tens uncompleted (in the near future).
>
> As far I can see there is no support for restricting the returned tasks
> inside Nag_API: listTasks() does not support start and stop times and
> listTimeObjects() is just a wrapper around listTasks(). It would be
> terribly uneconomic to retrieve all tasks from the backend every time and
> sieve them through, wouldn't it?

Correct. This is because Nag_Driver:: doesn't have support for it at  
this point either, at least not more than past/future filters. I  
thought there was an open ticket to improve the search functionality,  
but I can't find it. I know at one point I was planning on working on  
this. Please create a ticket on bugs.horde.org so it doesn't get lost.  
Probably won't happen before Horde 6 though...


-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/nag/attachments/20150727/84c5a4b1/attachment.bin>


More information about the nag mailing list