]> git.koha-community.org Git - koha.git/commit
Bug 22058: Fix display of empty table cells in OPAC MARC view holdings
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 2 Jan 2019 06:23:57 +0000 (06:23 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 23 Jan 2019 12:42:50 +0000 (12:42 +0000)
commit2b4bf11fa9acc54c87a9e7b5039baf0ecd0ef2d4
treec616283f24643b922581476a157c4a484195cf3d
parentb940797800ae4546c455aba7fa6570918a97b6af
Bug 22058: Fix display of empty table cells in OPAC MARC view holdings

I compared the template logic to the MARC detail page in staff.
We use $raw there instead of html, which will also make notes and other
fields with HTML in them display correctly. I am proposing to use the
$raw filter in OPAC as well.

To test:
- Go to the OPAC
- Search for a record with items
- Switch to the MARC view
- Verify empty cells show &nbsp; (html entity for space)
- Apply patch
- Repeat test
- Verify empty table cells now show as empty

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9a8828850a23d592275ab4d48fae61b89c0a9868)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt