If item-level_itypes is set to biblio, viewing course-details.pl with a course that has reserves will result in a datatables error.
Created attachment 28216 [details] [review] 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!
I think it has been decided to use class attributes for targeting columns.
(In reply to Jonathan Druart from comment #2) > I think it has been decided to use class attributes for targeting columns. Could be, but it is not in the coding guidelines. And these constructs are still all over the place. BUT: Another patch in the meantime added the antithe class and put it in the aTargets. This actually resolves the issue (afaict). I move the status to FQA for now; if the current status of the template does not satisfy the author, please adjust your patch and resubmit.
This has been fixed by bug 11866 - { 'bSortable': false, 'aTargets': [ 9, 10, 11 ] } + { 'bSortable': false, 'aTargets': [ 'NoSort' ] } *** This bug has been marked as a duplicate of bug 11866 ***