Lines 1869-1874
sub searchResults {
Link Here
|
1869 |
$onloan_items->{$key}->{description} = $item->{description}; |
1869 |
$onloan_items->{$key}->{description} = $item->{description}; |
1870 |
$onloan_items->{$key}->{imageurl} = |
1870 |
$onloan_items->{$key}->{imageurl} = |
1871 |
getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype} }->{imageurl} ); |
1871 |
getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype} }->{imageurl} ); |
|
|
1872 |
$onloan_items->{$key}->{collectioncode} = GetAuthorisedValueDesc('','',$item->{ccode},'','','CCODE'); |
1872 |
|
1873 |
|
1873 |
# if something's checked out and lost, mark it as 'long overdue' |
1874 |
# if something's checked out and lost, mark it as 'long overdue' |
1874 |
if ( $item->{itemlost} ) { |
1875 |
if ( $item->{itemlost} ) { |
Lines 1968-1973
sub searchResults {
Link Here
|
1968 |
$other_items->{$key}->{location} = $shelflocations->{ $item->{location} } if $item->{location}; |
1969 |
$other_items->{$key}->{location} = $shelflocations->{ $item->{location} } if $item->{location}; |
1969 |
$other_items->{$key}->{description} = $item->{description}; |
1970 |
$other_items->{$key}->{description} = $item->{description}; |
1970 |
$other_items->{$key}->{imageurl} = getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype}//q{} }->{imageurl} ); |
1971 |
$other_items->{$key}->{imageurl} = getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype}//q{} }->{imageurl} ); |
|
|
1972 |
$other_items->{$key}->{collectioncode} = GetAuthorisedValueDesc('','',$item->{ccode},'','','CCODE'); |
1971 |
} |
1973 |
} |
1972 |
# item is available |
1974 |
# item is available |
1973 |
else { |
1975 |
else { |
Lines 1978-1983
sub searchResults {
Link Here
|
1978 |
} |
1980 |
} |
1979 |
$available_items->{$prefix}->{location} = $shelflocations->{ $item->{location} } if $item->{location}; |
1981 |
$available_items->{$prefix}->{location} = $shelflocations->{ $item->{location} } if $item->{location}; |
1980 |
$available_items->{$prefix}->{imageurl} = getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype}//q{} }->{imageurl} ); |
1982 |
$available_items->{$prefix}->{imageurl} = getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype}//q{} }->{imageurl} ); |
|
|
1983 |
$available_items->{$prefix}->{collectioncode} = GetAuthorisedValueDesc('','',$item->{ccode},'','','CCODE'); |
1981 |
} |
1984 |
} |
1982 |
} |
1985 |
} |
1983 |
} # notforloan, item level and biblioitem level |
1986 |
} # notforloan, item level and biblioitem level |