From a8d9d19ccc8da163f2bb597f598cf2bce3d38c00 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 Content-Type: text/plain; charset=utf-8 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 --- 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 9124612b81..993f67fdcb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -553,7 +553,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