From e42b5cd7cc2da3193cbd36c101e3525ffa1abe7a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 13 May 2014 12:25:00 -0400 Subject: [PATCH] Bug 12248 - Error when using course reserves with item-level_itypes set to biblio If item-level_itypes is set to biblio, viewing course-details.pl with a course that has reserves will result in a datatables error. Test Plan: 1) Set item-level_itypes to biblio 2) Enable course reserves 3) Create a course 4) Add an item to the course 5) View the course details 6) Note the error you recieve 7) Apply this patch 8) Reload course-details.pl 9) You should no longer recieve the error! --- .../en/modules/course_reserves/course-details.tt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt index 5e69702..de1baa5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -17,7 +17,7 @@ "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], "iDisplayLength": 20, "aoColumnDefs": [ - { 'bSortable': false, 'aTargets': [ 9, 10, 11 ] } + { 'bSortable': false, 'aTargets': [ -3, -2, -1 ] } ] })); -- 1.7.2.5