Commit edcd1329 authored by allison.browne's avatar allison.browne

Fix syntax error

parent 73e4ec32
......@@ -65,7 +65,7 @@ class Issue < ApplicationRecord
scope :with_project_grafana_integration, -> { includes(project: :grafana_integration).where(projects: { grafana_integrations: { enabled: true } } ) }
scope :with_api_entity_associations, -> { preload(:timelogs, :assignees, :author, :notes, :labels, project: [:route, { namespace: :route }] ) }
scope :grafana_embedded, -> { where(Issue.arel_table[:description_html].matches('%data-dashboard-url%'))
scope :grafana_embedded, -> { where(Issue.arel_table[:description_html].matches('%data-dashboard-url%')) }
scope :public_only, -> { where(confidential: false) }
scope :confidential_only, -> { where(confidential: true) }
......
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