Fixes bug #1808
OPAC: $8 - Koha collection, decoded with ccode authorised values Staff: $c - Shelving location Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
955b4866fd
commit
7b387e97c2
2 changed files with 3 additions and 1 deletions
|
@ -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});
|
||||
|
|
2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl
Normal file → Executable file
2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl
Normal file → Executable file
|
@ -149,7 +149,7 @@ function verify_images() {
|
|||
<tr>
|
||||
<!-- TMPL_IF NAME="item-level_itypes" --><td><!-- TMPL_IF NAME="noItemTypeImages" --><!-- TMPL_VAR NAME="description" --><!-- TMPL_ELSE --><img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->"><!-- /TMPL_IF --></td><!-- /TMPL_IF -->
|
||||
<td><!-- TMPL_VAR NAME="branchname" --></td>
|
||||
<td><!-- TMPL_VAR name="locationname" --></td>
|
||||
<td><!-- TMPL_VAR name="ccode" --></td>
|
||||
<td><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
|
||||
<td>
|
||||
|
||||
|
|
Loading…
Reference in a new issue