Commit 75e225fa authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FIX: update SILL import script

parent 16c0e8c7
Pipeline #25402 passed with stage
in 8 minutes and 59 seconds
......@@ -24,25 +24,26 @@ $dataSrc = file_get_contents($url);
file_put_contents($fileName, $dataSrc); /* [0] => ID
[1] => nom
[2] => fonction
[3] => annees
[4] => statut
[5] => parent
[6] => public
[7] => support
[8] => similaire-a
[9] => wikidata
[10] => comptoir-du-libre
[11] => licence
[3] => poste_agent
[4] => annees
[5] => statut
[6] => parent
[7] => public
[8] => support
[9] => similaire-a
[10] => wikidata
[11] => comptoir-du-libre
[12] => licence
...
[21] => version_max */
[22] => version_max */
// column numbers of the csv file
$numberOfFileFields = 22;
$numberOfFileFields = 23;
$colId=0;
$colName=1;
$colYears = 3;
$colWikidata = 9;
$colComptoir = 10;
$colYears = 4;
$colWikidata = 10;
$colComptoir = 11;
// file processing
$row = 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment