I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

fix.patch

Patches for 0.2.3 - Jacek Pasternak, 04 Oct 2016 08:40

Download (2.38 KB)

View differences:

0.2.3_to_fix/extended_fields/app/helpers/extended_fields_helper.rb Tue Mar 24 13:35:35 2015
75 75
    end
76 76

  
77 77
    def extended_column_content(column, object)
78
        return nil if column.nil?
78 79
        value = column.value(object)
79 80

  
80 81
        case object
0.2.3_to_fix/extended_fields/lib/extended_fields_helper_patch.rb Fri Mar 20 15:24:42 2015
2 2

  
3 3
module ExtendedFieldsHelperPatch
4 4

  
5
    include ExtendedFieldsHelper
6

  
5 7
    def self.included(base)
6 8
        if Redmine::VERSION::MAJOR > 2 || (Redmine::VERSION::MAJOR == 2 && Redmine::VERSION::MINOR >= 5)
7 9
            base.send(:include, InstanceMethods)
0.2.3_to_fix/extended_fields/lib/extended_issues_controller_patch.rb Fri Mar 20 15:22:13 2015
2 2

  
3 3
module ExtendedIssuesControllerPatch
4 4

  
5
    include ExtendedFieldsHelper
6

  
5 7
    def self.included(base)
6 8
        base.send(:include, InstanceMethods)
7 9
    end
0.2.3_to_fix/extended_fields/lib/extended_queries_helper_patch.rb Tue Mar 24 14:52:10 2015
24 24
                if column.custom_field.visible_by?(issue.project, User.current)
25 25
                    value = issue.custom_field_values.detect{ |value| value.custom_field_id == column.custom_field.id }
26 26

  
27
                    h(show_value(value))
27
                    value.nil? ? '' : h(show_value(value))
28 28
                else
29 29
                    nil
30 30
                end
Terms of use | Privacy policy