in pseudo-code, what I think you need is the following :

1) ft = req.get_new_filtered_tree()
2) ft.apply_filter("notag_tasks")
3) ft.get_node_nbrs()

(that's the spirit)


Once it's working, we could optimize by caching the number and not parsing the 
whole ft every time but, before optimisation, we should have it work.

-- 
[gtg-refactor] Tag pane does not show # of tasks
https://bugs.launchpad.net/bugs/529256
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: In Progress

Bug description:
On gtg-refactor branch, the tag view is not showing the total counts, when 
launched using ./scripts/debug.sh - just shows 0.



_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help   : https://help.launchpad.net/ListHelp

Reply via email to