Commit fc702413 authored by Nikola Milojevic's avatar Nikola Milojevic

Merge branch '337432-remove-with_findings_and_scanner-scope' into 'master'

Remove unused with_findings_and_scanner scope

See merge request gitlab-org/gitlab!73930
parents 4c210dec baaa1487
......@@ -73,7 +73,6 @@ module EE
scope :with_author_and_project, -> { includes(:author, :project) }
scope :with_findings, -> { includes(:findings) }
scope :with_findings_by_uuid_and_state, -> (uuid, state) { with_findings.where(findings: { uuid: uuid }, state: state) }
scope :with_findings_and_scanner, -> { includes(findings: :scanner) }
scope :with_findings_scanner_and_identifiers, -> { includes(findings: [:scanner, :identifiers, finding_identifiers: :identifier]) }
scope :with_created_issue_links_and_issues, -> { includes(created_issue_links: :issue) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment