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