From b8a505877d3d53387709fac366937ed1e6a3cd43 Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 6 May 2005 08:25:16 +0000 Subject: [PATCH] adding title & author to additem screen (owen suggestion) --- acqui.simple/additem.pl | 3 +++ koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/acqui.simple/additem.pl b/acqui.simple/additem.pl index 38cc1fa671..a8efe44a31 100755 --- a/acqui.simple/additem.pl +++ b/acqui.simple/additem.pl @@ -60,6 +60,7 @@ my $itemtype = &MARCfind_frameworkcode($dbh,$bibid); my $tagslib = &MARCgettagslib($dbh,1,$itemtype); my $record = MARCgetbiblio($dbh,$bibid); +my $oldrecord = MARCmarc2koha($dbh,$record); my $itemrecord; my $nextop="additem"; my @errors; # store errors found while checking data BEFORE saving item. @@ -279,6 +280,8 @@ $template->param(item_loop => \@item_value_loop, item_header_loop => \@header_value_loop, bibid => $bibid, biblionumber =>$oldbiblionumber, + title => $oldrecord->{title}, + author => $oldrecord->{author}, item => \@loop_data, itemnum => $itemnum, itemtagfield => $itemtagfield, diff --git a/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl b/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl index 402047c33f..12968dad67 100644 --- a/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl @@ -4,7 +4,7 @@ "> ">
-

biblionumber :

+

( biblionumber #)

" class="button catalogue"> Edit biblio -- 2.39.5