Bug 20918: Fix left-side navigation on the checkout history page
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Jun 2018 14:26:02 +0000 (11:26 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Jun 2018 10:18:28 +0000 (10:18 +0000)
  commit fa54100dffe092e606f79b15692eedaf78f42e45
  Bug 18403: Use patron-title.inc when hidepatronname is used [SPECIFIC for issuehistory]

Removed:
-    biblionumber => $biblionumber, # required for left-side navigation

But did not deal with the side-effects.

Test plan:
When you are on the "Checkout history" page (/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=42),
the left-side navigation is broken if this patch is not applied, the biblionumber is not set.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc

index 95c0ee4..f0b2a8f 100644 (file)
@@ -1,6 +1,6 @@
 [% USE Koha %]
 [% USE Biblio %]
-[% SET biblio_object_id = object || biblionumber %]
+[% SET biblio_object_id = object || biblionumber || biblio.biblionumber %]
 
 <div id="menu">
 <ul>