From baf884600d2d3d1666a13455d2db584f314fd414 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Fri, 11 Oct 2024 15:56:29 -0400 Subject: [PATCH] Bug 38158: Typo in inventory 'Items has no "not for loan" status' This patch corrects a typo in the inventory tool when an inventory is done against not for loan items and an item has no not for loan status. To test: 1. Go to Cataloging > Inventory 2. Enter a barcode for an item that has items.notforloan = 0 in the "Or scan items one by one" text box 3. Check all the boxes EXCEPT "For loan" under "Optional filters for inventory list or comparing barcodes" > "items.notforloan" 4. Click "Submit" --> In the "Problems" column, it says "Items has no "not for loan" status" 5. Apply patch 6. Reload the page --> In the "Problems" column, "Item" should now be singular Signed-off-by: Sam Sowanick Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 087811b390..a2644c2647 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -359,7 +359,7 @@ [% IF result.notforloan %] Item has unselected "Not for loan" status "[% result.notforloan | html %]"
[% ELSE %] - Items has no "not for loan" status
+ Item has no "not for loan" status
[% END %] [% ELSIF problem.key == 'not_scanned' %] Missing (not scanned)
-- 2.39.5