On Thu, Apr 9, 2009 at 8:26 AM, Jeff Hammel <jham...@openplans.org> wrote:
>
> I hope to write an interface, IComputedFieldProvider (or similar), soon which 
> will fake computed fields with an ITemplateStreamFilter.  A better solution 
> would be to patch Trac core to do this.  But yeah, its a common problem and 
> its annoying to do.  See (e.g.) the TracHoursPlugin for an example of this 
> (field: totalhours).

How would something like this work with queries/reports?  That's the
main issue I haven't been able to resolve in trying to develop this
sort of functionality.  The simple answer would be to store the
computed value of the field in Trac's DB, but how would it know when
to update the value?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to