From 2ebbda2cb1564534f0fd3c2363b43fa8a02498f5 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 --- 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 55acb4831c..42ae4584e2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -552,7 +552,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.30.2