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

feat: nettoyage des organismes inconnus #3874

Closed
wants to merge 3 commits into from
Closed

Conversation

moroine
Copy link
Contributor

@moroine moroine commented Oct 25, 2024

No description provided.

@moroine moroine requested review from nkrmr and Pomarom October 25, 2024 13:33
@moroine moroine changed the base branch from master to next October 25, 2024 13:56
import { organismesDb, usersMigrationDb } from "@/common/model/collections";

const countOrganismeUsers = async (organismeId: ObjectId) => {
return await usersMigrationDb().countDocuments({ organismes: organismeId });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: lien organisation

};

export const up = async (db: Db) => {
const organismes = organismesDb().find({ effectifs_count: 0 });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO:

  • ajout filtre INCONNU
  • pas dans DECA

@moroine moroine marked this pull request as draft October 28, 2024 10:27
Base automatically changed from next to master November 19, 2024 09:30
@moroine moroine closed this Feb 18, 2025
@moroine moroine deleted the feature/tm-1583 branch February 18, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant