-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(contributions): correction des contributions avec une fiche SP #1501
Conversation
@@ -45,7 +45,7 @@ export const getContributionAnswerById = gql` | |||
cdtn_references { | |||
cdtn_id | |||
} | |||
content_fiche_sp: document { | |||
content_fiche_sp: document_fiche_sp { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Le problème vient de cette relation. On venait mettre le document
dans content_fiche_sp
sauf que le document
c'est le document de la contrib dans la table documents
et non de la fiche SP.
De ce fait, au query, on récupère le cdtn_id de la contrib au lieu de la fiche SP.
- name: document_fiche_sp | ||
using: | ||
foreign_key_constraint_on: content_service_public_cdtn_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il manquait la relation vers la fiche SP dans hasura.
5e0bea6
to
1cef976
Compare
Quality Gate passedIssues Measures |
🎉 Deployment for commit 1cef976 : Docker images
|
closes #1502