adding title & author to additem screen (owen suggestion)
This commit is contained in:
parent
369527637b
commit
b8a505877d
2 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->">
|
||||
<input type="hidden" name="bibid" value="<!-- TMPL_VAR NAME="bibid" -->">
|
||||
<div class="tabbed">
|
||||
<h1 class="catalogue">biblionumber : <!-- TMPL_VAR NAME="biblionumber" --></h1>
|
||||
<h1 class="catalogue"><!-- TMPL_VAR name="title" --> (<!-- TMPL_VAR name="author" --> biblionumber #<!-- TMPL_VAR NAME="biblionumber" -->)</h1>
|
||||
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
|
||||
Edit biblio
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue