[Koha-cvs] koha/catalogue MARCdetail.pl

Henri-Damien LAURENT laurenthdl at alinto.com
Mon Jul 9 15:04:55 CEST 2007


CVSROOT:	/cvsroot/koha
Module name:	koha
Changes by:	Henri-Damien LAURENT <hdl>	07/07/09 13:04:55

Modified files:
	catalogue      : MARCdetail.pl 

Log message:
	Bug Fixing : Dynamic change of framework in edition wouldnot change framework in selection list

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/catalogue/MARCdetail.pl?cvsroot=koha&r1=1.13&r2=1.14

Patches:
Index: MARCdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/catalogue/MARCdetail.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- MARCdetail.pl	22 May 2007 08:55:47 -0000	1.13
+++ MARCdetail.pl	9 Jul 2007 13:04:55 -0000	1.14
@@ -94,7 +94,8 @@
 my $query        = new CGI;
 my $dbh          = C4::Context->dbh;
 my $biblionumber = $query->param('biblionumber');
-my $frameworkcode = GetFrameworkCode( $biblionumber );
+my $frameworkcode = $query->param('frameworkcode');
+$frameworkcode = GetFrameworkCode( $biblionumber ) unless ($frameworkcode);
 my $popup        =
   $query->param('popup')
   ;    # if set to 1, then don't insert links, it's just to show the biblio





More information about the Koha-cvs mailing list