Project

General

Profile

Actions

Patch #24649

closed

Make Spent time clickable in issue lists

Added by Olivier Houdas almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues list
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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

Actions #1

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

Actions #2

Updated by Olivier Houdas almost 8 years ago

OK, in that case, the patch would be as attached (sorry, I'm using Mercurial, so I'm a bit behind the subversion commits)

Actions #3

Updated by Go MAEDA almost 8 years ago

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)
Actions #4

Updated by Go MAEDA almost 8 years ago

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)

Actions #5

Updated by Robert Korulczyk almost 8 years ago

Related: #20661

Actions #6

Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Patch committed, thanks.

Actions

Also available in: Atom PDF