Bugzilla – Attachment 167021 Details for
Bug 36914
DBIx::Class warning from shelves.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36914: Remove DBIC warning in shelves.pl
Bug-36914-Remove-DBIC-warning-in-shelvespl.patch (text/plain), 1.16 KB, created by
Marcel de Rooy
on 2024-05-22 11:16:58 UTC
(
hide
)
Description:
Bug 36914: Remove DBIC warning in shelves.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-05-22 11:16:58 UTC
Size:
1.16 KB
patch
obsolete
>From 0d6f729b33ff90e686bb7144ed831bf47661b3cd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 22 May 2024 09:35:55 +0200 >Subject: [PATCH] Bug 36914: Remove DBIC warning in shelves.pl >Content-Type: text/plain; charset=utf-8 > >Same fix as Bug 28561: Remove DBIC warning in opac-shelves >But for staff > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > virtualshelves/shelves.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl >index ecf08fa9c7..593670d5ff 100755 >--- a/virtualshelves/shelves.pl >+++ b/virtualshelves/shelves.pl >@@ -284,7 +284,8 @@ if ( $op eq 'view' ) { > my $contents = $shelf->get_contents->search( > {}, > { >- prefetch => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ], >+ distinct => 'biblionumber', >+ join => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ], > page => $page, > rows => $rows, > order_by => { "-$direction" => $order_by }, >-- >2.30.2
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 36914
:
167005
| 167021