]> git.koha-community.org Git - koha.git/commit
Bug 37399: Fix showing itemtype on holdings table
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Thu, 18 Jul 2024 09:34:12 +0000 (12:34 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 28 Aug 2024 19:53:56 +0000 (19:53 +0000)
commit120d987d926f7d8fda1add86f71908b46cfef498
tree08793cbf71016eb5e87dfae701625e7c45dcc520
parent8add61d7f379b966c1dafc30a499a9267a567fd7
Bug 37399: Fix showing itemtype on holdings table

If syspref "noItemTypeImages" is disabled, holdings table won't display
itemtype column. This patch fixes this.

To reproduce:
1. Enable syspref "noItemTypeImages".
2. Find biblio with items.
   => Note that itemtype column is displayed on holdings table.
3. Disable syspref "noItemTypeImages".
   => Itemtype column is no longer displayed on holdings table.
4. Apply this patch.
   => Now column should be displayed correctly.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 313f7e86b8b9bb063d07be292dd352c2f889fa99)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc