Bug 26874

Summary: Exclude label layouts without barcodes from selection when printing from a barcode range
Product: Koha Reporter: Andrew Fuerste-Henry <andrewfh>
Component: Label/patron card printingAssignee: Chris Nighswonger <cnighswonger>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: heather_hernandez
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 7468    
Bug Blocks:    

Description Andrew Fuerste-Henry 2020-10-30 16:18:48 UTC
Bug 7468 adds a great new feature for printing a batch of barcodes! But part of this process is picking which layout you want to print with. If you select a layout that doesn't include a barcode, you get an error:
"Some or all of the barcodes in the range you have selected have no corresponding items.

If you are using a layout without barcodes, this may result in missing entries or a blank page"

Why not just remove any layouts from the dropdown that do not include a barcode? Even if I enter barcode numbers that are in use, if I try to use this tool to print spine labels for them I get an empty sheet.