Bug 19334: Circulation history doesn't set biblionumber so left navigation is broken
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 18 Sep 2017 17:17:35 +0000 (19:17 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Sep 2017 15:35:58 +0000 (12:35 -0300)
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>

catalogue/issuehistory.pl

index 070a128..d154a21 100755 (executable)
@@ -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,