Bug 41937

Summary: Items are checked for shelf order in inventory regardless
Product: Koha Reporter: Esther Melander <esther.melander>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, m.de.rooy
Version: 25.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Esther Melander 2026-02-25 18:04:05 UTC
The inventory tool has an option to "Check barcodes list for items shelved out of order:"

If this option is selected, I would expect the inventory report to include a comment in the Problems column for items that are "Found in the wrong place"

If this option is NOT selected, the inventory goes ahead and tells me if items are in the incorrect place, regardless.

It's not clear what selecting the option does. If I do not select the option, I would not expect to see "found in wrong place" problems.
Comment 1 David Cook 2026-02-26 04:31:51 UTC
Yeah that sounds familiar too. 

If you look at tools/inventory.pl, "out_of_order" and "wrongplace" are two different things. 

Why is this the case? No idea. Bug 21408 added "out_of_order". Looking at bug 14399 it seems that wrongplace means the item shouldn't have been scanned at all whereas "out_of_order" means it should've been scanned but it's in the wrong order of scanned items. Subtle difference and maybe a problem with conditions. More investigation needed.