Bug 12001: (QA follow-up) Fix showing links to items on boraccount page

Test plan:
Go to the Fines -> Account page of a patron with fees linked to items
--> without patch there is no link to related item
--> with patch the link is presented in description column

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Josef Moravec 2018-02-19 22:43:32 +00:00 committed by Jonathan Druart
parent d81f371e2d
commit efa894e625
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ while ( my $line = $accts->next ) {
if ( $accountline->{itemnumber} ) {
# Because we will not have access to the object from the template
$accountline->{item} = { biblionumber => $line->item->biblionumber, };
$accountline->{item} = $line->item;
}
push @accountlines, $accountline;
}