Bug 26875 - Allow printing of just one barcode
Summary: Allow printing of just one barcode
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on: 7468
Blocks:
  Show dependency treegraph
 
Reported: 2020-10-30 16:21 UTC by Andrew Fuerste-Henry
Modified: 2020-11-04 04:38 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 26875: Allow printing of just one barcode in batch (1.45 KB, patch)
2020-10-30 16:27 UTC, Andrew Fuerste-Henry
Details | Diff | Splinter Review
Bug 26875: Allow printing of just one barcode in batch (1.50 KB, patch)
2020-11-04 04:38 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2020-10-30 16:21:25 UTC
The new barcode batch printing tool from bug 7468 requires that one enter barcodes a "to" barcode higher than one's "from" barcode. That means you have to print at least 2 barcodes. It's be nice if the check was, instead, "to" must be greater than or equal to "from."
Comment 1 Andrew Fuerste-Henry 2020-10-30 16:27:43 UTC
Created attachment 112726 [details] [review]
Bug 26875: Allow printing of just one barcode in batch

To test:
1- go to the Print Barcode Range page
2- enter From=1 and To=1
3- confirm error "Must be greater than from value."
4- apply patch, restart, reload page
5- enter From=1, To=1
6- confirm no error
7- change From to 2, error reappears
Comment 2 David Nind 2020-11-04 04:38:48 UTC
Created attachment 112973 [details] [review]
Bug 26875: Allow printing of just one barcode in batch

To test:
1- go to the Print Barcode Range page
2- enter From=1 and To=1
3- confirm error "Must be greater than from value."
4- apply patch, restart, reload page
5- enter From=1, To=1
6- confirm no error
7- change From to 2, error reappears

Signed-off-by: David Nind <david@davidnind.com>