Project

General

Profile

Actions

Feature #5791

closed

Set latest journal(log) id when an issue updated (in a issues table)

Added by Akiko Takano almost 14 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues list
Target version:
-
Start date:
2010-07-01
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

Our staff want to know who made last updating for the issue on issue listing page.
Though issue list has lastupdate record, but does not have the name of last update user.

First I tried to handle our staff's request, like this.

# find laslatest journal by issue id
def lastupdate_user(id)
    lastJournal = Journal.find(:last, :conditions =>
       ["journalized_id= ?", id], :order => :created_on,
       :include => :user)
    if lastJournal != nil
        return lastJournal.user
    end
end

But above is quite poor, and I'm afraid that this may cause some performance issues.

If allowed, please add the column to issue table, and set the latest log (journal) id of the issue iself when updating.


Related issues

Is duplicate of Redmine - Feature #6375: Last updated by colum in issue listClosedJean-Philippe Lang2010-09-12

Actions
Actions #1

Updated by Go MAEDA almost 7 years ago

  • Is duplicate of Feature #6375: Last updated by colum in issue list added
Actions #2

Updated by Go MAEDA almost 7 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

This feature was implemented in Redmine 3.4.0 (#6375).

Actions #3

Updated by Go MAEDA almost 7 years ago

  • Category set to Issues list
Actions #4

Updated by Toshi MARUYAMA over 6 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF