[Koha-cvs] koha/acqui.simple addbiblio.pl [dev_week]

Joshua Ferraro jmf at kados.org
Fri Oct 6 05:06:32 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	06/10/06 03:06:32

Modified files:
	acqui.simple   : addbiblio.pl 

Log message:
	fix for bug 1188: Edit biblio, edit item screens should show title of record being edited
	
	There is now a top-leve template var called 'title'

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/acqui.simple/addbiblio.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.52.2.40.2.10&r2=1.52.2.40.2.11

Patches:
Index: addbiblio.pl
===================================================================
RCS file: /sources/koha/koha/acqui.simple/Attic/addbiblio.pl,v
retrieving revision 1.52.2.40.2.10
retrieving revision 1.52.2.40.2.11
diff -u -b -r1.52.2.40.2.10 -r1.52.2.40.2.11
--- addbiblio.pl	5 Oct 2006 23:43:43 -0000	1.52.2.40.2.10
+++ addbiblio.pl	6 Oct 2006 03:06:32 -0000	1.52.2.40.2.11
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: addbiblio.pl,v 1.52.2.40.2.10 2006/10/05 23:43:43 kados Exp $
+# $Id: addbiblio.pl,v 1.52.2.40.2.11 2006/10/06 03:06:32 kados Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -604,7 +604,7 @@
 		oldbiblioitemnumber         => $oldbiblioitemnumber,
 		);
 }
-
+$template->param( title => $record->title() ) if ($record ne "-1");
 $template->param(
 		frameworkcode => $frameworkcode,
 		itemtype => $frameworkcode, # HINT: if the library has itemtype = framework, itemtype is auto filled !





More information about the Koha-cvs mailing list