On Mon, Jan 25, 2010 at 10:15:25AM -0000, Tom Berger wrote:
> ~jml, who also gets to say "i told you so", having spotted the problem
> in review, tells me that may be a good example of how this can be
> optimized is found in lib/lp/code/browser/branchlisting.py
I would suggest looking in lib/lp/bugs/browser/bugtask.py insted, to see
how it's done for the rest of the badges in the bug listings. Search for
BugListingBatchNavigator. It should be easy to extend it to handle
patches as well.
On Mon, Jan 25, 2010 at 10:15:25AM -0000, Tom Berger wrote: code/browser/ branchlisting. py
> ~jml, who also gets to say "i told you so", having spotted the problem
> in review, tells me that may be a good example of how this can be
> optimized is found in lib/lp/
I would suggest looking in lib/lp/ bugs/browser/ bugtask. py insted, to see Navigator. It should be easy to extend it to handle
how it's done for the rest of the badges in the bug listings. Search for
BugListingBatch
patches as well.