Lines 2116-2122
sub searchResults {
Link Here
|
2116 |
$onloan_items->{$key}->{itemcallnumber} = $item->{itemcallnumber}; |
2116 |
$onloan_items->{$key}->{itemcallnumber} = $item->{itemcallnumber}; |
2117 |
$onloan_items->{$key}->{description} = $item->{description}; |
2117 |
$onloan_items->{$key}->{description} = $item->{description}; |
2118 |
$onloan_items->{$key}->{imageurl} = |
2118 |
$onloan_items->{$key}->{imageurl} = |
2119 |
getitemtypeimagelocation( $search_context, $itemtypes{ $item->{itype} }->{imageurl} ); |
2119 |
getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $item->{itype} }->{imageurl} ); |
2120 |
|
2120 |
|
2121 |
# if something's checked out and lost, mark it as 'long overdue' |
2121 |
# if something's checked out and lost, mark it as 'long overdue' |
2122 |
if ( $item->{itemlost} ) { |
2122 |
if ( $item->{itemlost} ) { |
Lines 2215-2222
sub searchResults {
Link Here
|
2215 |
else { |
2215 |
else { |
2216 |
$can_place_holds = 1; |
2216 |
$can_place_holds = 1; |
2217 |
$available_count++; |
2217 |
$available_count++; |
2218 |
$available_items->{$prefix}->{count}++ if $item->{$hbranch}; |
2218 |
$available_items->{$prefix}->{count}++ if $item->{$hbranch}; |
2219 |
foreach (qw(branchname itemcallnumber description)) { |
2219 |
foreach (qw(branchname itemcallnumber description)) { |
2220 |
$available_items->{$prefix}->{$_} = $item->{$_}; |
2220 |
$available_items->{$prefix}->{$_} = $item->{$_}; |
2221 |
} |
2221 |
} |
2222 |
$available_items->{$prefix}->{location} = $shelflocations->{ $item->{location} }; |
2222 |
$available_items->{$prefix}->{location} = $shelflocations->{ $item->{location} }; |
Lines 2246-2252
sub searchResults {
Link Here
|
2246 |
|
2246 |
|
2247 |
# XSLT processing of some stuff |
2247 |
# XSLT processing of some stuff |
2248 |
# we fetched the sysprefs already before the loop through all retrieved record! |
2248 |
# we fetched the sysprefs already before the loop through all retrieved record! |
2249 |
my $interface = $search_context->{'interface'} eq 'opac' ? 'OPAC' : ''; |
|
|
2250 |
if (!$scan && $xslfile) { |
2249 |
if (!$scan && $xslfile) { |
2251 |
$oldbiblio->{XSLTResultsRecord} = XSLTParse4Display($oldbiblio->{biblionumber}, $marcrecord, $xslsyspref, 1, \@hiddenitems, $sysxml, $xslfile, $lang); |
2250 |
$oldbiblio->{XSLTResultsRecord} = XSLTParse4Display($oldbiblio->{biblionumber}, $marcrecord, $xslsyspref, 1, \@hiddenitems, $sysxml, $xslfile, $lang); |
2252 |
} |
2251 |
} |