---
 catalogue/detail.pl |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/catalogue/detail.pl b/catalogue/detail.pl
index 7990f6a..4dd5ddf 100755
--- a/catalogue/detail.pl
+++ b/catalogue/detail.pl
@@ -215,6 +215,11 @@ foreach my $item (@items) {
         $item->{waitingdate} = format_date($wait_hashref->{waitingdate});
     }
 
+    # item has a host number if its biblio number does not match the current 
bib
+    if ($item->{biblionumber} ne $biblionumber){
+        $item->{hostbiblionumber} = $item->{biblionumber};
+    }
+
     push @itemloop, $item;
 }
 
@@ -233,6 +238,7 @@ $template->param(
        itemdata_copynumber => $itemfields{copynumber},
        volinfo                         => $itemfields{enumchron},
        z3950_search_params     => C4::Search::z3950_search_args($dat),
+        hostrecords         => $hostrecords,
        C4::Search::enabled_staff_search_views,
 );
 
-- 
1.5.4.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches

Reply via email to