Bugzilla – Attachment 56153 Details for
Bug 17389
Exporting framework always export the default framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 17389: (bug 16035 follow-up) Fix export non-default frameworks
PASSED-QA-Bug-17389-bug-16035-follow-up-Fix-export.patch (text/plain), 1.26 KB, created by
Katrin Fischer
on 2016-10-11 09:45:46 UTC
(
hide
)
Description:
[PASSED QA] Bug 17389: (bug 16035 follow-up) Fix export non-default frameworks
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-10-11 09:45:46 UTC
Size:
1.26 KB
patch
obsolete
>From 4419a15c5601089943fffbcc5ef258c2b7a3b2ee Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 3 Oct 2016 15:15:40 +0100 >Subject: [PATCH] [PASSED QA] Bug 17389: (bug 16035 follow-up) Fix export > non-default frameworks > >Trivial patch, no need to explain anything :) > >Test plan: >Export default framework >Export other frameworks >=> The frameworkcode column should contain the framework code > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > admin/import_export_framework.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/import_export_framework.pl b/admin/import_export_framework.pl >index c505824..5a38a85 100755 >--- a/admin/import_export_framework.pl >+++ b/admin/import_export_framework.pl >@@ -53,7 +53,7 @@ my $action = $input->param('action') || 'export'; > if ($action eq 'export' && $input->request_method() eq 'GET') { > my $strXml = ''; > my $format = $input->param('type_export_' . $frameworkcode); >- if ($frameworkcode == 'default') { >+ if ($frameworkcode eq 'default') { > ExportFramework('', \$strXml, $format); > } else { > ExportFramework($frameworkcode, \$strXml, $format); >-- >2.7.4
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 17389
:
55975
|
55977
|
55983
|
55984
| 56153 |
56154