0001-adds-a-new-query-column-for-the-parent-task-subject-.patch

Jens Krämer, 2019-01-21 10:56

Download (1.71 KB)

View differences:

app/models/issue_query.rb
25 25
    QueryColumn.new(:project, :sortable => "#{Project.table_name}.name", :groupable => true),
26 26
    QueryColumn.new(:tracker, :sortable => "#{Tracker.table_name}.position", :groupable => true),
27 27
    QueryColumn.new(:parent, :sortable => ["#{Issue.table_name}.root_id", "#{Issue.table_name}.lft ASC"], :default_order => 'desc', :caption => :field_parent_issue),
28
    QueryAssociationColumn.new(:parent, :subject, :caption => :field_parent_issue_subject),
28 29
    QueryColumn.new(:status, :sortable => "#{IssueStatus.table_name}.position", :groupable => true),
29 30
    QueryColumn.new(:priority, :sortable => "#{IssuePriority.table_name}.position", :default_order => 'desc', :groupable => true),
30 31
    QueryColumn.new(:subject, :sortable => "#{Issue.table_name}.subject"),
config/locales/en.yml
344 344
  field_group_by: Group results by
345 345
  field_sharing: Sharing
346 346
  field_parent_issue: Parent task
347
  field_parent_issue_subject: Parent task subject
347 348
  field_member_of_group: "Assignee's group"
348 349
  field_assigned_to_role: "Assignee's role"
349 350
  field_text: Text field
350
-