diff options
author | Go MAEDA <maeda@farend.jp> | 2021-03-14 06:57:54 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-03-14 06:57:54 +0000 |
commit | 793bb848b1a020737ead11212a105398c5504423 (patch) | |
tree | e416667caa961d6fdaf3fdae8f423c6fd8701fd2 /app/models/query.rb | |
parent | 1fd8d0657f50d24c7b459770102fd2b230913b02 (diff) | |
download | redmine-793bb848b1a020737ead11212a105398c5504423.tar.gz redmine-793bb848b1a020737ead11212a105398c5504423.zip |
Merged r20783 from trunk to 4.1-stable (#33548).
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@20784 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r-- | app/models/query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index a57cfe442..152b11cf1 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -51,7 +51,7 @@ class QueryColumn # Returns true if the column is sortable, otherwise false def sortable? - !@sortable.nil? + @sortable.present? end def sortable |