Here is a patch so that when state changes are shown in the listings of comments for cases, the 'assigned to' username is displayed using theme_username. This makes it a link, rather than flat text, which I think is nice.

Comments

eclipsegc’s picture

Casetracker is under new management.

Please re-apply this against Dev if you'd like to see it committed.

jmiccolis’s picture

Version: 5.x-1.3-beta1 » 6.x-1.x-dev
Status: Needs review » Needs work

So, one reason I haven't committed this is that user_load hits the database every time it's called. So if you have a case that has gotten passed back and forth between, say, a developer and project manager, ten times - it's going to hit the database at twice for each of those. If you've got any modules enabled that implement hook_user those will get run an additional 20 times as well.

Anyhow we're using casetracker_get_name() here which adds a layer of caching to prevent this issue. If you'd like to see this kind of functionality added please try to keep this static cache in play.

pedrorocha’s picture

Status: Needs work » Closed (won't fix)

I'm cleaning the module issues, so if somebody thinks that this issue does make sense yet, feel free to reopen.