Skip to content

Commit

Permalink
counting stagiaire before checking current staff only fixes #392
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgirard committed Mar 23, 2017
1 parent 5934eae commit 2a43161
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions server/export/hceres.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ const SHEETS = [
fnsp = !position || organization === 'FNSP',
mesr = organization === 'MESR';

if (!academicMembership)
// filtering out past members
return;


// Stagiaires avec une date de présence dans l'unité comprise entre 01/01/12 et 30/06/17
if (
Expand All @@ -198,6 +196,10 @@ const SHEETS = [
sheetData.H19++;
}

if (!academicMembership)
// filtering out past members
return;

// Professeur.es FNSP, Professeur.e.s des universités, Associate professors FNSP
if (
(
Expand Down

0 comments on commit 2a43161

Please sign in to comment.