From 5b320189f0c0ac442a95f00653533fd6b9e74d28 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 (cherry picked from commit baf884600d2d3d1666a13455d2db584f314fd414) Signed-off-by: Lucas Gass --- 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 96684a0e90..456c906633 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -358,7 +358,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)