From 1b689e41b8a4d6054e8af0d9c3c542cc544f2c0a 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 --- 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 23c1a6c660..0c3602f602 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.34.1