In a search, when we try to export data as CSV from a repeater, we get the columns twice: once all available columns of the repeater, then the column we want to export.
For example:
- In the course search model, add the columns (default):
<item ref="contacts"/> <item ref="contacts/persons"/>
- Open the course search, and filter the columns to display with: title, code, contacts/persons.
- The CSV export is like this:
"Libellé";"Contact(s)";"Contact(s)";"Code"; "Réseaux Electriques";"Gérard Dupont Camille Martin";"Gérard Dupont Camille Martin";"ELP1548"; "Vecteur hydrogène et piles à combustibles";;;"ELP1545"; "Estimation du potentiel)";;;"ELP1547"; "Anglais S2";;;"ELP1518"; "Stage M1 Energie";;;"ELP1520"; "Bioénergies";;;"ELP1523";