Bugzilla – Attachment 4147 Details for
Bug 6067
When Add Duplicate changing framework would lose data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (3.4)
0001-BUG6067-When-Add-Duplicate-changing-framework-would.patch (text/plain), 2.19 KB, created by
Fridolin Somers
on 2011-05-17 16:14:55 UTC
(
hide
)
Description:
Proposed patch (3.4)
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2011-05-17 16:14:55 UTC
Size:
2.19 KB
patch
obsolete
>From e62b02a703527cd77bd00e5087114687a2de8998 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@progilone.fr> >Date: Tue, 17 May 2011 18:10:01 +0200 >Subject: [PATCH] BUG6067 When Add Duplicate changing framework would loose data > >--- > cataloguing/addbiblio.pl | 7 +++++++ > .../prog/en/modules/cataloguing/addbiblio.tt | 2 +- > 2 files changed, 8 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 7e146c0..fdf14ca 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -913,6 +913,9 @@ if ($biblionumber) { > #------------------------------------------------------------------------------------- > if ( $op eq "addbiblio" ) { > #------------------------------------------------------------------------------------- >+ $template->param( >+ biblionumberdata => $biblionumber, >+ ); > # getting html input > my @params = $input->param(); > $record = TransformHtmlToMarc( \@params , $input ); >@@ -996,6 +999,10 @@ elsif ( $op eq "delete" ) { > #---------------------------------------------------------------------------- > # If we're in a duplication case, we have to set to "" the biblionumber > # as we'll save the biblio as a new one. >+ $template->param( >+ biblionumberdata => $biblionumber, >+ op => $op, >+ ); > if ( $op eq "duplicate" ) { > $biblionumber = ""; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index fa0c5e8..b6cc66f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -255,7 +255,7 @@ function GetZ3950Terms(){ > > function Changefwk(FwkList) { > var fwk = FwkList.options[FwkList.selectedIndex].value; >- window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&breedingid=[% breedingid %]&frameworkcode="+fwk; >+ window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumberdata %]&op=[% op %]&breedingid=[% breedingid %]&mode=[% popup %]&frameworkcode="+fwk; > > } > >-- >1.7.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 6067
:
3688
|
4147
|
4185