Vote #69701
完了Render Version and User custom fields as links
0%
説明
That would be nice if custom fields which type is one of the recently introduced Version and User are rendered not as raw text but as links to the specified version page or user profile page, just as anywhere else in the application.
journals
As suggested in #2096 =)
--------------------------------------------------------------------------------
There is a patch attached to #8492.
--------------------------------------------------------------------------------
Hi, Please find patch attached.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
+1. This is really essential feature. However, the same should be applied not only for issue page, but also on version's page and project page - as we have user_type fields for projects (incharge, etc.) and version (testing etc.).
I had tried working out a patch where format_value() function itself returns the link thereby one doesn't have to repeat the conditionals on each such entity (issue/version/page). Unfortunately, it didn't quite work because of h() function being used before display.
Anyway, I hope this should be available at least for version and project page as well.
--------------------------------------------------------------------------------
Done in 2.5.0, not just for issues.
--------------------------------------------------------------------------------
related_issues
relates,Closed,2096,Custom fields referencing system tables (users and versions)
duplicates,Closed,8492,Custom Field of Version type should be shown as link in show issue view