Project

General

Profile

Actions

Defect #11869

closed

Issue.css_classes set wrong priority number

Added by Yasuhiro Hara about 12 years ago. Updated about 12 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Normal issues are displayed like Urgent issues on Redmine v2.1.0 Issues page.
I think the v2.0 source is correct.

Issue.rb (version 2.1)

  def css_classes
    s = "issue status-#{status_id} priority-#{priority_id}" 
    .
    .
    .
  end

Issue.rb (version 2.0)

  def css_classes
    s = "issue status-#{status.position} priority-#{priority.position}" 
    .
    .
    .
  end

--

My Redmine is running on Ubuntu 12.04 x64, and I'm using a theme Highrise

Environment:
  Redmine version                          2.1.0.stable
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.8
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  redmine_logs                             0.0.4

Related issues

Related to Redmine - Defect #11880: Alternate theme colors by issue priority in issue list is wrongClosed

Actions
Actions

Also available in: Atom PDF