]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 22 Jul 2024 09:28:03 +0000 (10:28 +0100)
commit313f7e86b8b9bb063d07be292dd352c2f889fa99
tree71aa930a6efa7282a62714eb6209ed18b3a7a342
parent876332b6765072656c0aacdd14010719fe841010
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>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc