From 1371bbbfbb1f18d31b27a961e1ad4fc8c9638afb Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Mon, 29 Jan 2024 15:25:19 -0500 Subject: [PATCH] Bug 35934: Correct missed case of switching items.transfer to transfer in detail.tt To test: 1. Put an item with no holds/recalls in transit (manually or by checking it in at a branch other than its homebranch to trigger a ReturnToHome) 2. Go to the item's bib record --> Note that the item's status will display as something like, "In transit from X to Y since 01/29/2024 Available" 3. Apply patch and refresh the page --> Note that item now shows only the transit status, but not "Available" Signed-off-by: Lucas Gass Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 687963b016bb9e3f74abebc64c830e53ab4d1e50) Signed-off-by: Fridolin Somers (cherry picked from commit f726c7ebfe0102ffaad49ffd73297971cb1a5248) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 33cba9f2bc..a3bdbd8bd9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -549,7 +549,7 @@ [% END %] [% END %] - [% UNLESS ( item.notforloan || item.itemtype.notforloan || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfer || hold || ( Koha.Preference('UseRecalls') && recall ) ) %] + [% UNLESS ( item.notforloan || item.itemtype.notforloan || item.onloan || item.itemlost || item.withdrawn || item.damaged || transfer || hold || ( Koha.Preference('UseRecalls') && recall ) ) %] Available [% END %] -- 2.39.5