[Koha-patches] [PATCH] Bug 19334 - circulation history doesn't set biblionumber so left navigation is broken
Dobrica Pavlinusic
dpavlin at rot13.org
Mon Sep 18 19:20:49 CEST 2017
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
---
catalogue/issuehistory.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/catalogue/issuehistory.pl b/catalogue/issuehistory.pl
index 070a128..d154a21 100755
--- a/catalogue/issuehistory.pl
+++ b/catalogue/issuehistory.pl
@@ -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,
--
2.1.4
More information about the Koha-patches
mailing list