Bugzilla – Attachment 170588 Details for
Bug 34486
Hide more OPAC holdings table columns when they are empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34486: (QA follow-up) Tidy changes to opac/opac-detail.pl
Bug-34486-QA-follow-up-Tidy-changes-to-opacopac-de.patch (text/plain), 1.46 KB, created by
Paul Derscheid
on 2024-08-22 08:41:42 UTC
(
hide
)
Description:
Bug 34486: (QA follow-up) Tidy changes to opac/opac-detail.pl
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-08-22 08:41:42 UTC
Size:
1.46 KB
patch
obsolete
>From c115bc0087fe7edb59304fd7261d4a9157c2932e Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Thu, 22 Aug 2024 08:40:31 +0000 >Subject: [PATCH] Bug 34486: (QA follow-up) Tidy changes to opac/opac-detail.pl > >--- > opac/opac-detail.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 3d2da21763..59a7d5ec57 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -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)) >-- >2.46.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34486
:
170068
|
170073
|
170587
| 170588