Bugzilla – Attachment 4185 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]
Signed patch
patch.txt (text/plain), 2.29 KB, created by
Marcel de Rooy
on 2011-05-19 09:09:20 UTC
(
hide
)
Description:
Signed patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-05-19 09:09:20 UTC
Size:
2.29 KB
patch
obsolete
>From 725cad2fe76c84883ea508e6699b55c19a87f674 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 >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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..ce8321b 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.6.0.6 >
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