@@ -, +, @@ requests SER record with '(MARCorgcode)[recno]' (keep the parentheses, remove the square brackets when inserting the biblionumber). Include text in 773$g too. you to the SER record while copying title, author, page info. --- .../opac-tmpl/bootstrap/en/modules/opac-request-article.tt | 12 ++++++------ opac/opac-request-article.pl | 10 +++++++++- 2 files changed, 15 insertions(+), 7 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt @@ -36,20 +36,20 @@
  • [% IF mandatory_fields.search('title') %] - + [% ELSE %] - + [% END %]
  • [% IF mandatory_fields.search('author') %] - + [% ELSE %] - + [% END %]
  • @@ -86,10 +86,10 @@
  • [% IF mandatory_fields.search('pages') %] - + [% ELSE %] - + [% END %]
  • --- a/opac/opac-request-article.pl +++ a/opac/opac-request-article.pl @@ -40,6 +40,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( my $action = $cgi->param('action') || q{}; my $biblionumber = $cgi->param('biblionumber'); +my $biblio = Koha::Biblios->find($biblionumber); if ( $action eq 'create' ) { my $branchcode = $cgi->param('branchcode'); @@ -73,9 +74,16 @@ if ( $action eq 'create' ) { print $cgi->redirect("/cgi-bin/koha/opac-user.pl#opac-user-article-requests"); exit; +} elsif ( !$action ) { + # Should we redirect? + # Conditions: no items, host item entry (MARC21 773) + my ( $host, $pageinfo ) = $biblio->host_record({ no_items => 1 }); + if( $host ) { + $template->param( pageinfo => $pageinfo, title => $biblio->title, author => $biblio->author ); + $biblio = $host; + } } -my $biblio = Koha::Biblios->find($biblionumber); my $patron = Koha::Patrons->find($borrowernumber); $template->param( --