Skip to content

Commit

Permalink
[Training] fixes registrations export
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed May 24, 2024
1 parent 2eeced7 commit 4b6165c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {CourseInput} from '#/plugin/cursus/data/types/course/components/input'
import {CourseFilter} from '#/plugin/cursus/data/types/course/components/filter'

const dataType = {
name: 'course',
name: 'training_course',
meta: {
creatable: false,
icon: 'fa fa-fw fa fa-graduation-cap',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function getExtraDefinition(?array $options = [], ?array $extra = []): ar
$extraDef['fields'][] = [
'name' => 'course',
'label' => $this->translator->trans('course', [], 'cursus'),
'type' => 'course',
'type' => 'training_course',
];

return $extraDef;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function getExtraDefinition(?array $options = [], ?array $extra = []): ar
$extraDef['fields'][] = [
'name' => 'course',
'label' => $this->translator->trans('course', [], 'cursus'),
'type' => 'course',
'type' => 'training_course',
'required' => true,
];

Expand Down

0 comments on commit 4b6165c

Please sign in to comment.