Bugzilla – Attachment 55975 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]
Bug 17389: (bug 16035 follow-up) Fix export non-default frameworks
Bug-17389-bug-16035-follow-up-Fix-export-non-defau.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2016-10-03 14:17:35 UTC
(
hide
)
Description:
Bug 17389: (bug 16035 follow-up) Fix export non-default frameworks
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-10-03 14:17:35 UTC
Size:
1.12 KB
patch
obsolete
>From ce0b109654c669ab4888b5d344dc47490d12203d 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] 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 >--- > 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.8.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 17389
:
55975
|
55977
|
55983
|
55984
|
56153
|
56154