Lines 48-54
for (@$operations) {
Link Here
|
48 |
$_->{'bibliotitle'} = $biblio->title; |
48 |
$_->{'bibliotitle'} = $biblio->title; |
49 |
$_->{'biblionumber'} = $biblio->biblionumber; |
49 |
$_->{'biblionumber'} = $biblio->biblionumber; |
50 |
} |
50 |
} |
51 |
my $patron = $_->{cardnumber} ? Koha::Patrons->find( { cardnumber => $_->{cardnumber} } ) : undef; |
51 |
|
|
|
52 |
my $patron = |
53 |
$_->{cardnumber} |
54 |
? Koha::Patrons->find( { cardnumber => $_->{cardnumber} } ) |
55 |
|| Koha::Patrons->find( { userid => $_->{cardnumber} } ) |
56 |
: undef; |
57 |
|
52 |
if ($patron) { |
58 |
if ($patron) { |
53 |
$_->{'borrowernumber'} = $patron->borrowernumber; |
59 |
$_->{'borrowernumber'} = $patron->borrowernumber; |
54 |
$_->{'borrower'} = ($patron->firstname ? $patron->firstname:'').' '.$patron->surname; |
60 |
$_->{'borrower'} = ($patron->firstname ? $patron->firstname:'').' '.$patron->surname; |
55 |
- |
|
|