Skip to content

Commit

Permalink
Land #14120, services -S stays in correct wrkspace
Browse files Browse the repository at this point in the history
  • Loading branch information
agalway-r7 committed Sep 16, 2020
2 parents 08fbce5 + 9101b4f commit 24d1d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/util/db_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def self.create_all_column_search_conditions(model, search, column_name_skip_lis
Arel::Nodes::Regexp.new(Arel::Nodes::NamedFunction.new("CAST", [model.arel_table[column.name].as("TEXT")]),
Arel::Nodes.build_quoted(search))
}
condition_set.reduce { |conditions, condition| conditions.or(condition).expr }
Arel::Nodes::Grouping.new(condition_set.reduce { |conditions, condition| conditions.or(condition).expr })
end

# Processes the workspace value in the opts hash from a request. This method throws an exception if
Expand Down

0 comments on commit 24d1d37

Please sign in to comment.