Commit 47dc02a3 authored by Côme Chilliet's avatar Côme Chilliet

feat(supann) Add headers to registrations list

This also allows to sort by any column.

issue #6034
parent 8e306843
......@@ -369,6 +369,19 @@ class supannAccount extends simplePlugin
list ($codes, $labels) = supann::get_choices_for('affiliation');
$this->attributesAccess['eduPersonAffiliation']->attribute->setChoices($codes, $labels);
$this->attributesAccess['supannEtuInscription']->setHeaders([
_('Establishment'),
_('Year'),
_('Registration type'),
_('Sector'),
_('Diploma type'),
_('Curriculum'),
_('Entity'),
_('Diploma'),
_('Step'),
_('Element'),
''
]);
$this->attributesAccess['supannEtuInscription']->setLinearRendering(FALSE);
$this->updateFieldsChoices();
......
Markdown is supported
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