Bug 19334: Circulation history doesn't set biblionumber so left navigation is broken

Navigation on the left (Normal, MARC, etc...) needs biblionumber in
template variables to work.

Test:
1. go to checkout history for any biblio
2. verify that normal, MARC, etc links on the left no longer work
   due to missing biblionumber in URL
3. apply patch and test it again

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Dobrica Pavlinusic 2017-09-18 19:17:35 +02:00 committed by Jonathan Druart
parent 80fd5cd0db
commit f270c4a3b5
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ my $issues = GetBiblioIssues($biblionumber);
my $biblio = Koha::Biblios->find( $biblionumber );
$template->param(
biblionumber => $biblionumber, # required for left-side navigation
biblio => $biblio,
total => scalar @$issues,
issues => $issues,