[Koha-patches] [PATCH] Analytical records - display host record link in bibio detail
Amit Gupta
amit.gupta at osslabs.biz
Sun Oct 31 13:11:49 CET 2010
---
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
More information about the Koha-patches
mailing list