Commits

Akiko Takano committed e0d9627

Fixed bug that disabled templates are not shown on index page. (IssueID: #1090)

Comments (0)

Files changed (1)

app/controllers/issue_templates_controller.rb

   # update pulldown
   def set_pulldown
     issue_templates = IssueTemplate.find(:all, 
-      :conditions => ['project_id = ? AND tracker_id = ? AND enabled = ?', 
-      @project.id, @tracker.id, true],:order => 'position')
+      :conditions => ['project_id = ? AND tracker_id = ?', 
+      @project.id, @tracker.id],:order => 'position')
     @grouped_options = []
     group = []
     if issue_templates.size > 0