@@ -, +, @@
cannot be removed from course reserves
---------
the existing javascript (eg. Ka-boom:Ka-boom!KABOOM@#$!)
-- The course listing should have the new teacher listed.
-- nothing happens, and inspecting the error console gives
you the ugly error described in comment #0
-- name is removed.
-- the course listing no longer lists the new teacher.
works as expected.
---
course_reserves/mod_course.pl | 2 +-
.../prog/en/modules/course_reserves/course.tt | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
--- a/course_reserves/mod_course.pl
+++ a/course_reserves/mod_course.pl
@@ -62,7 +62,7 @@ if ( $action eq 'del' ) {
my @instructors = $cgi->multi_param('instructors');
ModCourseInstructors(
mode => 'replace',
- cardnumbers => \@instructors,
+ borrowernumbers => \@instructors,
course_id => $new_course_id
);
print $cgi->redirect("/cgi-bin/koha/course_reserves/course-details.pl?course_id=$new_course_id");
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt
@@ -79,8 +79,8 @@
Instructors: