Patch #24649
closedMake Spent time clickable in issue lists
0%
Description
In Issue lists, User, Version or Project fields are clickable to take the user to the relevant page, and not to the issue page itself.
It would make sense to also make the Spent time values clickable to take the user to the details of the logged time.
A patch to do it is attached.
Files
Updated by Go MAEDA almost 8 years ago
Thank you for submitting the patch but it cannot be applied cleanly to the current trunk (r16111).
source:trunk/app/helpers/queries_helper.rb@16101#L192
Updated by Olivier Houdas almost 8 years ago
- File Clickable-spent-time-in-issue-lists-Redmine-trunk-2016-12-14.patch Clickable-spent-time-in-issue-lists-Redmine-trunk-2016-12-14.patch added
OK, in that case, the patch would be as attached (sorry, I'm using Mercurial, so I'm a bit behind the subversion commits)
Updated by Go MAEDA almost 8 years ago
- File clickable-spent-time-in-issue-lists-v3.diff clickable-spent-time-in-issue-lists-v3.diff added
- Target version set to Candidate for next major release
Since the patch by Olivier Houdas cannot be applied to the current trunk (r16166) for the following reasons, I have updated the patch.
- The variable name "issue" was renamed to "item" by #24643
issue_time_entries_path
for GET request has been droped in r15644
And changed link destination for "Spent time" and "Total spent time".
- "Spent time" ->
/projects/xxx/time_entries?issue_id=nn
(Issue is #nn) - "Total spent time" ->
/projects/xxx/time_entries?issue_id=nn
(Issue contains #nn)
Updated by Go MAEDA almost 8 years ago
- File spent-time-clickable.png spent-time-clickable.png added
- File after-clicking-spent-time.png after-clicking-spent-time.png added
- File after-clicking-total-spent-time.png after-clicking-total-spent-time.png added
- Target version changed from Candidate for next major release to 3.4.0
I suggest including this feature in Redmine 3.4.0.
Clickable spent time in issues list:
After clicking on spent time:
Users are navigated to: /projects/xxx/time_entries?issue_id=nn (Issue is #nn)
After clicking on total spent time:
Users are navigated to: /projects/xxx/time_entries?issue_id=nn (Issue contains #nn)
Updated by Jean-Philippe Lang almost 8 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
Patch committed, thanks.