Bugzilla – Attachment 6313 Details for
Bug 7207
Cannot export label batches in IE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7207 - Reverting a portion of commit 607b5449bd5cb which breaks the label export script.
Bug-7207---Reverting-a-portion-of-commit-607b5449b.patch (text/plain), 1.69 KB, created by
Brendan Gallagher
on 2011-11-15 18:03:01 UTC
(
hide
)
Description:
Bug 7207 - Reverting a portion of commit 607b5449bd5cb which breaks the label export script.
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2011-11-15 18:03:01 UTC
Size:
1.69 KB
patch
obsolete
>From 61cc6ade8339d242921dd45117afb147c85d6df8 Mon Sep 17 00:00:00 2001 >From: Chris Nighswonger <cnighswonger@foundations.edu> >Date: Wed, 9 Nov 2011 14:51:01 -0500 >Subject: [PATCH] Bug 7207 - Reverting a portion of commit 607b5449bd5cb which breaks the label export script. > >squashed chris_n's two patches. Label export works again. Also changed the pattern for the item_number to the known working, critic friendly pattern. > >Don't change $_ in a list context > >Changed the 3rd bit to the critic friendly pattern chris_n suggests in the previous two lines. > >Signed-off-by: Brendan <brendan@bywatersolutions.com> >--- > labels/label-print.pl | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/labels/label-print.pl b/labels/label-print.pl >index 5da731b..3947163 100755 >--- a/labels/label-print.pl >+++ b/labels/label-print.pl >@@ -112,9 +112,9 @@ elsif ($op eq 'none') { > # setup select menus for selecting layout and template for this run... > $referer = $ENV{'HTTP_REFERER'}; > $referer =~ s/^.*?:\/\/.*?(\/.*)$/$1/m; >- @batch_ids = grep{my $id = $_; $id = {batch_id => $id}} @batch_ids; >- @label_ids = grep{my $id = $_; $id = {label_id => $id}} @label_ids; >- @item_numbers = grep{my $number=$_; $number = {item_number => $number}} @item_numbers; >+ @batch_ids = map{{batch_id => $_}} @batch_ids; >+ @label_ids = map{{label_id => $_}} @label_ids; >+ @item_numbers = map{{item_number => $_}} @item_numbers; > $templates = get_all_templates(field_list => 'template_id, template_code', filter => 'creator = "Labels"'); > $layouts = get_all_layouts(field_list => 'layout_id, layout_name', filter => 'creator = "Labels"'); > $output_formats = get_output_formats(); >-- >1.7.2.5
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 7207
:
6295
|
6307
|
6313