]> git.koha-community.org Git - koha.git/commit
Bug 28762: Use Koha::Course in course-details controller
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 23 Sep 2021 18:06:43 +0000 (19:06 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 28 Aug 2024 20:20:33 +0000 (20:20 +0000)
commit140875e6813793119f387839c29fb7d8afdc177e
tree51e77ea23ad5bc591dc223e4a6bab6c005e65487
parentb79291db3982229fb5bec4c9a96bdf9a252c562c
Bug 28762: Use Koha::Course in course-details controller

This patch updates Koha::Course to include the 'instructors' relation
accessor and then update the course-details controller to use the
Koha::Course object and pass it to the template instead of building a
hash using GetCourse.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 7f38c77d091cd4192b039041bcc3a00a05e10583)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Course.pm
course_reserves/course-details.pl