Bug 30911: Datatables error on course-details.pl after adding a bib-level course...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 8 Jul 2022 13:03:01 +0000 (13:03 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 12 Aug 2022 16:54:55 +0000 (16:54 +0000)
commit8e879be095ad6ec7ec166413cc2628751208ecac
treee5788e2f22a48c0b252810c998e7e386dc28bd4f
parent7f52fa4a7344d88c0d580f282cf7dd062e3c8cc7
Bug 30911: Datatables error on course-details.pl after adding a bib-level course reserve

This patch removes the colspan from biblio-level course reserves rows in
favor of adding a style to the message's container allowing it to
overflow across table cells.

To test, apply the patch and go to course reserves.

1. If necessary, add a new course.
2. View the details of the course and add a reserve using the
   biblionumber option to add the reserve at the bibliographic level.
3. Add a notes if you want, then click "Save."
4. Return to the course detail view.
5. In the table of reserves your biblio-level reserve should have a
   message starting in the "Barcode" column and overflowing across other
   item information columns, "Item information is not available for
   record-level course reserve."
6. Try adding multiple item-level and biblio-level reserves to the same
   course to confirm that the information displays well in those cases.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 91f50ee70fc645328d0c6dfda86c8886af49cd02)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt