Skip to content
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(chore): bugged related items #2155

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,12 @@ Object {
},
Object {
"doc_count": 2,
"key": "conventions_collectives",
},
Object {
"doc_count": 2,
"key": "fiches_ministere_travail",
"key": "external",
},
Object {
"doc_count": 2,
"key": "fiches_service_public",
},
Object {
"doc_count": 2,
"key": "modeles_de_courriers",
},
Object {
"doc_count": 2,
"key": "outils",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,22 @@

exports[`return idcc results for boulangerie 1`] = `
Object {
"hits": Array [
Copy link
Contributor Author

@UnbearableBear UnbearableBear Jan 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

là je ne sais pas, j'ai du rater un truc, on a encore des conventions collectives ? On les a virées non ? Je suis supposé toujours avoir quelque chose là dedans ?

Object {
"_id": "12",
"_index": "cdtn_test_documents",
"_score": 1.0166607,
"_source": Object {
"id": "KALICONT000005635691",
"idcc": "1747",
"slug": "1747-convention-collective-nationale-des-activites-industrielles-de-boulangerie",
"title": "Convention collective nationale des activités industrielles de boulangerie et pâtisserie du 13 juillet 1993. Mise à jour par avenant n°10 du 11 octobre 2011.",
"url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635691",
},
"_type": "_doc",
},
Object {
"_id": "13",
"_index": "cdtn_test_documents",
"_score": 1.0166607,
"_source": Object {
"id": "KALICONT000005635886",
"idcc": "843",
"slug": "0843-convention-collective-nationale-de-la-boulangerie-patisserie-du-19-mars-1976",
"title": "Convention collective nationale de la boulangerie-pâtisserie du 19 mars 1976. Etendue par arrêté du 21 juin 1978 JONC 28 juillet 1978.",
"url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635886",
},
"_type": "_doc",
},
],
"max_score": 1.0166607,
"hits": Array [],
"max_score": null,
"total": Object {
"relation": "eq",
"value": 2,
"value": 0,
},
}
`;

exports[`return idcc results for pati 1`] = `
Object {
"hits": Array [
Object {
"_id": "12",
"_index": "cdtn_test_documents",
"_score": 1.0166607,
"_source": Object {
"id": "KALICONT000005635691",
"idcc": "1747",
"slug": "1747-convention-collective-nationale-des-activites-industrielles-de-boulangerie",
"title": "Convention collective nationale des activités industrielles de boulangerie et pâtisserie du 13 juillet 1993. Mise à jour par avenant n°10 du 11 octobre 2011.",
"url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635691",
},
"_type": "_doc",
},
Object {
"_id": "13",
"_index": "cdtn_test_documents",
"_score": 1.0166607,
"_source": Object {
"id": "KALICONT000005635886",
"idcc": "843",
"slug": "0843-convention-collective-nationale-de-la-boulangerie-patisserie-du-19-mars-1976",
"title": "Convention collective nationale de la boulangerie-pâtisserie du 19 mars 1976. Etendue par arrêté du 21 juin 1978 JONC 28 juillet 1978.",
"url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635886",
},
"_type": "_doc",
},
],
"max_score": 1.0166607,
"hits": Array [],
"max_score": null,
"total": Object {
"relation": "eq",
"value": 2,
"value": 0,
},
}
`;
Loading