Skip to content

Commit

Permalink
fix: update df data (#2090)
Browse files Browse the repository at this point in the history
* chore: remove useless script

* fix: use existing variable

* fix(data): update DF data

* fix: update snap
  • Loading branch information
Julien Bouquillon authored and lionelB committed Dec 30, 2019
1 parent c3e72eb commit 9db0fdc
Show file tree
Hide file tree
Showing 6 changed files with 710 additions and 414 deletions.
3 changes: 1 addition & 2 deletions packages/code-du-travail-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"dev": "nodemon ./src/server/index.js",
"update-mock-data": "ES_INDEX_PREFIX=cdtn node -r esm tests/fetch_mock_data.js",
"pretest": "NODE_ENV=test node -r esm tests/create_indexes.js",
"test": "ES_INDEX_PREFIX=cdtn_test jest",
"elastic": "node scripts/elastic.js"
"test": "ES_INDEX_PREFIX=cdtn_test jest"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ const getDocumentByUrlQuery = (
size: 1,
query: {
bool: {
filter: [
{ term: { slug } },
{ term: { source: getSourceByRoute(source) } }
]
filter: [{ term: { slug } }, { term: { source: esSource } }]
}
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,16 @@
}
]
},
{
"title": "IDCC",
"slug": "idcc",
"abbrs": [],
"variants": [],
"definition": "<p>« Identifiant Des Conventions Collectives ». Numéro de 1 à 4 chiffres sous lequel une convention collective est enregistrée.Un IDCC est automatiquement attribué à toute nouvelle convention collective. Il permet de repérer sans confusion possible une convention puisqu’un numéro correspond à une seule convention. </p>",
"refs": [
{}
]
},
{
"title": "Indemnités",
"slug": "indemnites",
Expand Down
Loading

0 comments on commit 9db0fdc

Please sign in to comment.