summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/query.rb')
-rw-r--r--app/models/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index 796480f3a..ff07a077e 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -48,7 +48,7 @@ class QueryColumn
# Returns true if the column is sortable, otherwise false
def sortable?
- !@sortable.nil?
+ @sortable.present?
end
def sortable