From 7b387e97c2cebf0861775ccc1c5b9981dca783fc Mon Sep 17 00:00:00 2001 From: Frederic DEMIANS Date: Fri, 1 Feb 2008 23:23:57 -0600 Subject: [PATCH] Fixes bug #1808 OPAC: $8 - Koha collection, decoded with ccode authorised values Staff: $c - Shelving location Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- catalogue/detail.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 7df3ab0087..2ec9c2b7c7 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -106,6 +106,8 @@ foreach my $item (@items) { if ($item->{damaged}) { $item->{itemdamagedloop}= GetAuthorisedValues(GetAuthValCode('items.damaged',$fw),$item->{damaged}) if GetAuthValCode('items.damaged',$fw); } + #get collection code description, too + $item->{'ccode'} = GetAuthorisedValueDesc('','', $item->{'ccode'} ,'','','ccode'); # checking for holds my ($reservedate,$reservedfor,$expectedAt) = GetReservesFromItemnumber($item->{itemnumber}); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl old mode 100644 new mode 100755 index 6894beaa8b..8187e15ea6 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -149,7 +149,7 @@ function verify_images() { " alt="" title=""> - + -- 2.39.5