Skip to content

Commit

Permalink
Fix filter descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
susannasiebert authored Oct 29, 2024
1 parent 0c618b7 commit deee4b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/app/graphql/resolvers/top_level_factors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Resolvers::TopLevelFactors < GraphQL::Schema::Resolver
.distinct
end

option(:evidence_status_filter, default_value: 'WITH_ACCEPTED_OR_SUBMITTED', type: Types::AssociatedEvidenceStatusFilterType , description: 'Limit genes by the status of attached evidence.') do |scope, value|
option(:evidence_status_filter, default_value: 'WITH_ACCEPTED_OR_SUBMITTED', type: Types::AssociatedEvidenceStatusFilterType , description: 'Limit factors by the status of attached evidence.') do |scope, value|
case value
when 'WITH_ACCEPTED'
scope.joins(:evidence_items_by_status)
Expand Down
2 changes: 1 addition & 1 deletion server/app/graphql/resolvers/top_level_fusions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Resolvers::TopLevelFusions < GraphQL::Schema::Resolver
.distinct
end

option(:evidence_status_filter, default_value: 'WITH_ACCEPTED_OR_SUBMITTED', type: Types::AssociatedEvidenceStatusFilterType , description: 'Limit genes by the status of attached evidence.') do |scope, value|
option(:evidence_status_filter, default_value: 'WITH_ACCEPTED_OR_SUBMITTED', type: Types::AssociatedEvidenceStatusFilterType , description: 'Limit fusions by the status of attached evidence.') do |scope, value|
case value
when 'WITH_ACCEPTED'
scope.joins(:evidence_items_by_status)
Expand Down

0 comments on commit deee4b7

Please sign in to comment.