Satisfy or calm rubocop

pull/6038/head
Wieland Lindenthal 7 years ago
parent 546143e8ec
commit 6dc3a11a65
  1. 1
      app/models/queries/work_packages/filter/attachment_content_filter.rb
  2. 2
      app/models/query/results.rb
  3. 1
      app/workers/extract_fulltext_job.rb

@ -1,4 +1,5 @@
#-- encoding: UTF-8
#-- copyright
# OpenProject is a project management system.
# Copyright (C) 2012-2017 the OpenProject Foundation (OPF)

@ -209,7 +209,7 @@ class ::Query::Results
# Returns the columns that need to be included to allow:
# * sorting
# * grouping
def include_columns
def include_columns # rubocop:disable Metrics/AbcSize
columns = query.sort_criteria_columns.map { |column, _direction| column.association }
if query.group_by_column

@ -1,4 +1,5 @@
#-- encoding: UTF-8
#-- copyright
# OpenProject is a project management system.
# Copyright (C) 2012-2017 the OpenProject Foundation (OPF)

Loading…
Cancel
Save