Project

General

Profile

CustomFieldFormat filter

Added by rere rere over 10 years ago

Hi,

I developped a plugin to create a new field. The source code is the following one :

class LinkCustomFieldFormat < Redmine::CustomFieldFormat

    def format_as_link(value)
        return value
    end

end

require_dependency 'new_issue_hook'

Redmine::CustomFieldFormat.map do |fields|
   fields.register LinkCustomFieldFormat.new('link', :label => :label_test, :order => 1 + 0.6)
end

The plugin works fine but when I add the field as column to search issues, the column of the field is disabled and there is no text inside (no result).

Thanks for your help.


Replies (1)

RE: CustomFieldFormat filter - Added by rere rere over 10 years ago

Up please

Thank you

    (1-1/1)