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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 8 Jul 2022 18:30:33 +0000 (15:30 -0300)
commit91f50ee70fc645328d0c6dfda86c8886af49cd02
tree51765a2bb37e003b66a17de88aec49770413ba8c
parent69513449dbfd08f53d6c1b78792c87478481437c
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>
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt