Two small points: have you checked the query impact of this? It looks like it will do a lot of queries, to me.
Separately, have you considered just having the list of 'can unsubscribe' things include separate actions for each bug. e.g. subscribers teamfoo [-] teamfoo (via 1234) [-] teambar (via 3456) [-] This would keep the unsubscribe actions in the same place (a good thing), not make showing the list of dupes more expensive ( a good thing) and leave the dup list cacheable if we choose to) (a good thing) -- https://code.launchpad.net/~brian-murray/launchpad/display-dupe-in-portlet-dupe-subscribers/+merge/34501 Your team Launchpad code reviewers is requested to review the proposed merge of lp:~brian-murray/launchpad/display-dupe-in-portlet-dupe-subscribers into lp:launchpad/devel. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-reviewers Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-reviewers More help : https://help.launchpad.net/ListHelp

