https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19562
--- Comment #2 from Marcel de Rooy <[email protected]> --- Created attachment 69030 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69030&action=edit Bug 19562: Do not mark convolute items without barcode as problematic Convolute items are bound together (belong to different biblio records) and only one item has a barcode. All items are marked with a phrase like Convolute (see regex below) in itemnotes. This patch skips the convolute items without barcode and does not mark them as problematic during inventory when the item notes contain the phrase. The regex used is: $item->{itemnotes} =~ /convoluu?t/i; This regex will cover at least the following languages: Danish, Dutch, English, Finnish, French, Italian, Norwegian, Portuguese, Spanish, Swedish and probably other languages too. And can be easily extended if needed. Note: Since the item hash does not contain itemnotes, we need to call Koha::Items->find. We will only do so when the item does not have a barcode. Test plan: [1] Update an item so that it has no barcode, callnumber is X and item notes contain Convolute. [2] Upload a barcode file (contents may even be empty), filter on callnumber X. Compare should not report the updated convolute. [3] Remove the Convolute note. Repeat step 2. Inventory should report the item now. Signed-off-by: Marcel de Rooy <[email protected]> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
