Repository navigation
Fiche entreprise : Décocher la case "Peut apparaître dans les résultats de recherche" des entreprises déconventionnées [GEN-2627] - #6629
Merged
Conversation
EwenKorr
commented
Jul 29, 2025
xavfernandez
approved these changes
Jul 29, 2025
to avoid false positives.
And fix a typo.
When a company's convention has ended we try to delete the company. If we cannot (because of data we need to keep) it's better to deactivate the company, which is done by masking it from the search results.
EwenKorr
force-pushed
the
ewen/searchable
branch
from
July 30, 2025 06:12
dc222c5 to
435b0f3
Compare
EwenKorr
added this pull request to the merge queue
Jul 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 Pourquoi ?
Le déconventionnement n'empêche actuellement pas l'affichage dans la recherche. Dans le script
import_siaequ'on lance le lundi, si une convention a expiré (modulo un petit délai), alors on essaie juste de supprimer les entreprises associées. Si ces entreprises ont des infos qu'on veut garder (contrôle a posteriori, candidatures…), alors on ne fait rien.On retrouve donc des SIAE qui n’existe plus dans nos résultats de recherche.
🍰 Comment ?
Décocher
is_searchablesur les entreprises à désactiver qu'on ne peut pas supprimer.