Lines 333-346
if ( C4::Context->preference("ExportCircHistory") ) {
Link Here
|
333 |
$template->param(csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc' }) ]); |
333 |
$template->param(csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc' }) ]); |
334 |
} |
334 |
} |
335 |
|
335 |
|
336 |
my $messages = Koha::Patron::Messages->search( |
336 |
my $patron_messages = Koha::Patron::Messages->search( |
337 |
{ |
337 |
{ |
338 |
'me.borrowernumber' => $borrowernumber, |
338 |
'me.borrowernumber' => $borrowernumber, |
339 |
}, |
339 |
}, |
340 |
{ |
340 |
{ |
341 |
join => 'manager', |
341 |
join => 'manager', |
342 |
'+select' => ['manager.surname', 'manager.firstname' ], |
342 |
'+select' => ['manager.surname', 'manager.firstname' ], |
343 |
'+as' => ['manager_surname', 'manager_firstname'], |
343 |
'+as' => ['manager_surname', 'manager_firstname'], |
344 |
} |
344 |
} |
345 |
); |
345 |
); |
346 |
|
346 |
|
Lines 373-379
$template->param(
Link Here
|
373 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
373 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
374 |
relatives_issues_count => $relatives_issues_count, |
374 |
relatives_issues_count => $relatives_issues_count, |
375 |
relatives_borrowernumbers => \@relatives, |
375 |
relatives_borrowernumbers => \@relatives, |
376 |
messages => $messages, |
376 |
patron_messages => $patron_messages, |
377 |
); |
377 |
); |
378 |
|
378 |
|
379 |
output_html_with_http_headers $input, $cookie, $template->output; |
379 |
output_html_with_http_headers $input, $cookie, $template->output; |
380 |
- |
|
|