Browse Source

Bug 13343: Embed items when send a basket/shelf

When a basket/shelf is downloaded, items are embedded, but not when
sending it by email.

We would expect to get the same file.

Test plan:
On Opac and intranet:
1/ Add records with items to your basket and send it by email.
Verify the file contains items.
2/ Add records with items to a list and send it by email.
Verify the file contains items.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
3.20.x
Jonathan Druart 8 years ago
committed by Tomas Cohen Arazi
parent
commit
a0e5d77a71
  1. 2
      basket/sendbasket.pl
  2. 2
      opac/opac-sendbasket.pl
  3. 2
      opac/opac-sendshelf.pl
  4. 2
      virtualshelves/sendshelf.pl

2
basket/sendbasket.pl

@ -72,7 +72,7 @@ if ( $email_add ) {
$template2->param( biblionumber => $biblionumber );
my $dat = GetBiblioData($biblionumber);
my $record = GetMarcBiblio($biblionumber);
my $record = GetMarcBiblio($biblionumber, 1);
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );

2
opac/opac-sendbasket.pl

@ -87,7 +87,7 @@ if ( $email_add ) {
$template2->param( biblionumber => $biblionumber );
my $dat = GetBiblioData($biblionumber);
my $record = GetMarcBiblio($biblionumber);
my $record = GetMarcBiblio($biblionumber, 1);
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );

2
opac/opac-sendshelf.pl

@ -85,7 +85,7 @@ if ( $email ) {
my $biblionumber = $biblio->{biblionumber};
my $fw = GetFrameworkCode($biblionumber);
my $dat = GetBiblioData($biblionumber);
my $record = GetMarcBiblio($biblionumber);
my $record = GetMarcBiblio($biblionumber, 1);
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );

2
virtualshelves/sendshelf.pl

@ -81,7 +81,7 @@ if ($email) {
my $biblionumber = $biblio->{biblionumber};
my $fw = GetFrameworkCode($biblionumber);
my $dat = GetBiblioData($biblionumber);
my $record = GetMarcBiblio($biblionumber);
my $record = GetMarcBiblio($biblionumber, 1);
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );

Loading…
Cancel
Save