Bugzilla – Attachment 137607 Details for
Bug 31137
Error editing label template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix Bug 31137 - Error editing label template
0001-Fix-Bug-31137-Error-editing-label-template.patch (text/plain), 1.21 KB, created by
Adolfo RodrÃguez Taboada
on 2022-07-12 07:31:53 UTC
(
hide
)
Description:
Fix Bug 31137 - Error editing label template
Filename:
MIME Type:
Creator:
Adolfo RodrÃguez Taboada
Created:
2022-07-12 07:31:53 UTC
Size:
1.21 KB
patch
obsolete
>From 7de9f632098419dd8eb54cf72357419c6a2da1af Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Adolfo=20Rodr=C3=ADguez?= <adolfo.rodriguez@xercode.es> >Date: Tue, 12 Jul 2022 09:20:45 +0200 >Subject: [PATCH 1/1] Fix - Bug 31137 - Error editing label template > >--- > labels/label-edit-template.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/labels/label-edit-template.pl b/labels/label-edit-template.pl >index 9e6a019d09..5f6462b18f 100755 >--- a/labels/label-edit-template.pl >+++ b/labels/label-edit-template.pl >@@ -46,7 +46,7 @@ my $units = get_unit_values(); > > if ($op eq 'edit') { > $label_template = C4::Labels::Template->retrieve(template_id => $template_id); >- $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => { template_id => [ $template_id, '' ] } } ); >+ $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => { template_id => [ $template_id, '' ], creator => 'Labels'} } ); > push @$profile_list, {paper_bin => 'N/A', profile_id => 0, printer_name => 'No Profile'}; > foreach my $profile (@$profile_list) { > if ($profile->{'profile_id'} == $label_template->get_attr('profile_id')) { >-- >2.30.2 >
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 31137
:
137607
|
137749
|
137750
|
137751
|
137752