Bugzilla – Attachment 97461 Details for
Bug 7468
Add label to batch by barcode range
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7468: fix the export labels popup header
Bug-7468-fix-the-export-labels-popup-header.patch (text/plain), 1.04 KB, created by
Maryse Simard
on 2020-01-16 15:56:57 UTC
(
hide
)
Description:
Bug 7468: fix the export labels popup header
Filename:
MIME Type:
Creator:
Maryse Simard
Created:
2020-01-16 15:56:57 UTC
Size:
1.04 KB
patch
obsolete
>From 5ca44dfbb3d04be8b24593e206d190c31339c23b Mon Sep 17 00:00:00 2001 >From: Maryse Simard <maryse.simard@inlibro.com> >Date: Thu, 16 Jan 2020 09:19:39 -0500 >Subject: [PATCH] Bug 7468: fix the export labels popup header > >When exporting a barcode range, the export popup should display "1 batch >to export" instead of "0 batches to export". In this context, it can be >considered a label batch and should be counted as such. > >To test: >When clicking the "Print range" button, the popup should show "1 batch >to export". >--- > labels/label-print.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/labels/label-print.pl b/labels/label-print.pl >index 310546ff5d..2ef72ed572 100755 >--- a/labels/label-print.pl >+++ b/labels/label-print.pl >@@ -60,7 +60,7 @@ my $layouts = undef; > my $templates = undef; > my $output_formats = undef; > my @batches = (); >-my $multi_batch_count = scalar(@batch_ids); >+my $multi_batch_count = scalar(@batch_ids) || ($from && $to) ? 1 : 0; > my $label_count = scalar(@label_ids); > my $item_count = scalar(@item_numbers); > >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7468
:
67184
|
67598
|
67636
|
70980
|
77592
|
81071
|
81072
|
81073
|
81074
|
81075
|
91568
|
91569
|
91570
|
97454
|
97455
|
97456
|
97457
|
97458
|
97459
|
97460
|
97461
|
97551
|
97552
|
97553
|
97554
|
97555
|
97556
|
97557
|
97558
|
97638
|
97639
|
97640
|
97641
|
97642
|
97643
|
97644
|
97645
|
97646