diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-07 11:45:11 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-07 11:45:11 +0000 |
commit | 1c0b6075ee003b87190671816b1f06b227f2d9d5 (patch) | |
tree | 353bfea659f6c4a293216992268a1d48da04f187 /app/models/query.rb | |
parent | 21cc761b539817f9c60dba119e49b4a9842d2d90 (diff) | |
download | redmine-1c0b6075ee003b87190671816b1f06b227f2d9d5.tar.gz redmine-1c0b6075ee003b87190671816b1f06b227f2d9d5.zip |
use "attr_writer" instead of "attr_accessor" for QueryColumn#sortable
QueryColumn#sortable is already defined in this class.
git-svn-id: http://svn.redmine.org/redmine/trunk@18616 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r-- | app/models/query.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index bd2b0c5c1..3b37a8dd0 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -20,7 +20,8 @@ require 'redmine/sort_criteria' class QueryColumn - attr_accessor :name, :sortable, :groupable, :totalable, :default_order + attr_accessor :name, :groupable, :totalable, :default_order + attr_writer :sortable include Redmine::I18n def initialize(name, options={}) |