Bugzilla – Attachment 140039 Details for
Bug 30976
Cover images for biblio should be displayed first
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[21.11.x] Bug 30976: Make sure scalar context is used
2111x-Bug-30976-Make-sure-scalar-context-is-used.patch (text/plain), 934 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2022-09-01 13:10:57 UTC
(
hide
)
Description:
[21.11.x] Bug 30976: Make sure scalar context is used
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-09-01 13:10:57 UTC
Size:
934 bytes
patch
obsolete
>From a8ff6c1d6df4399d1682ce222c3d115ccd3be524 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 1 Sep 2022 10:10:22 -0300 >Subject: [PATCH] [21.11.x] Bug 30976: Make sure scalar context is used > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > catalogue/detail.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 0ee6da03fa..637d156973 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -539,9 +539,8 @@ if (C4::Context->preference("FRBRizeEditions")==1) { > } > > if ( C4::Context->preference("LocalCoverImages") == 1 ) { >- my $images = $biblio->cover_images; > $template->param( >- localimages => $biblio->cover_images->search( >+ localimages => scalar $biblio->cover_images->search( > {}, { order_by => [ \"COALESCE(itemnumber, 0, 1)", 'timestamp' ] } > ), > ); >-- >2.34.1
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 30976
:
136146
|
136161
|
137210
| 140039