Bug 34486: (QA follow-up) Tidy changes to opac/opac-detail.pl

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Paul Derscheid 2024-08-22 08:40:31 +00:00 committed by Katrin Fischer
parent 21cab8a47c
commit b1993dcd71
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 2 deletions

View File

@ -683,7 +683,7 @@ else {
while ( my $item = $items->next ) {
my $item_info = $item->unblessed;
$item_info->{holds_count} = $item_reserves{ $item->itemnumber };
if( $item_info->{holds_count} && $item_info->{holds_count} > 0 ){ $item_level_holds = 1; }
if ( $item_info->{holds_count} && $item_info->{holds_count} > 0 ) { $item_level_holds = 1; }
$item_info->{priority} = $priority{ $item->itemnumber };
# Get opac_info from Additional contents for home and holding library
@ -725,7 +725,7 @@ else {
$itemtypes->{ $itemtype->itemtype }->{translated_description};
$item_info->{checkout} = $item->checkout;
if( $item_info->{checkout} && $item_info->{checkout} > 0 ){ $item_checkouts = 1; }
if ( $item_info->{checkout} && $item_info->{checkout} > 0 ) { $item_checkouts = 1; }
foreach my $field (
qw(ccode materials enumchron copynumber itemnotes location_description uri barcode itemcallnumber))