Skip to content

Filtering proposals by short codes is not returning proposals #850

@mutambaraf

Description

@mutambaraf

When using the graph API to return proposals that match an array of short codes .The API is returning an empty list even if there are proposals associated with the given call short codes.

What is the problem and why is it a problem

This is affecting developers and other system that use our API

Steps to reproduce (if it's a bug).

Send query to the graphql end point with a list of short codes as below.

query {
proposals(filter:{shortCodes:[list of call short codes]}){
proposals {
primaryKey
proposalId
call {
shortCode
id
}
}
}
}

Metadata

Metadata

Assignees

Labels

area: uop/stfcAn issue relating to the STFC user office project.

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions