Resolve document query filtering.
This commit is contained in:
@@ -9,7 +9,10 @@ export const GET_DOCUMENTS_BY_JOB = gql`
|
||||
}
|
||||
}
|
||||
}
|
||||
documents(order_by: { updated_at: desc }) {
|
||||
documents(
|
||||
order_by: { updated_at: desc }
|
||||
where: { jobid: { _eq: $jobId } }
|
||||
) {
|
||||
id
|
||||
name
|
||||
key
|
||||
|
||||
Reference in New Issue
Block a user