Bugzilla – Attachment 137752 Details for
Bug 31137
Error editing label template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31137: (QA follow-up) Also fix new template page
Bug-31137-QA-follow-up-Also-fix-new-template-page.patch (text/plain), 1.16 KB, created by
Nick Clemens (kidclamp)
on 2022-07-15 12:13:23 UTC
(
hide
)
Description:
Bug 31137: (QA follow-up) Also fix new template page
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-07-15 12:13:23 UTC
Size:
1.16 KB
patch
obsolete
>From 38f41af2b52a4a2f3025b0b18a81c31adf6c732c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 15 Jul 2022 12:10:43 +0000 >Subject: [PATCH] Bug 31137: (QA follow-up) Also fix new template page > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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 5f6462b18f..5765c2e47f 100755 >--- a/labels/label-edit-template.pl >+++ b/labels/label-edit-template.pl >@@ -113,7 +113,7 @@ elsif ($op eq 'save') { > } > else { # if we get here, this is a new layout > $label_template = C4::Labels::Template->new(); >- $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => { template_id => [''] } }); >+ $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => { 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'} == 0) { >-- >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