Bugzilla – Attachment 184669 Details for
Bug 40143
Add links to private lists in OPAC bibliographic record detail pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40143: Added links to private lists in bibliographic record detail page in OPAC
Bug-40143-Added-links-to-private-lists-in-bibliogr.patch (text/plain), 1.29 KB, created by
Laura Escamilla
on 2025-07-25 20:11:42 UTC
(
hide
)
Description:
Bug 40143: Added links to private lists in bibliographic record detail page in OPAC
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-07-25 20:11:42 UTC
Size:
1.29 KB
patch
obsolete
>From 8955491a313634d0af544c02ce16ae45da81fba0 Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Fri, 13 Jun 2025 15:16:30 +0000 >Subject: [PATCH] Bug 40143: Added links to private lists in bibliographic > record detail page in OPAC > >Test Plan: >1. In OPAC create a public list, add a book to the list. >2. Notice a link to the list on the biblio's detail page. >3. Create a private list and add the book to it. Notice there is no link to the list in the details page. >4. Apply patch, restart_all >5. Notice there is now a link to the private list > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >--- > opac/opac-detail.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 9cd2364f84..7222edc6d6 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -975,7 +975,10 @@ if ( C4::Context->preference("virtualshelves") ) { > my $shelves = Koha::Virtualshelves->search( > { > biblionumber => $biblionumber, >- public => 1, >+ '-or' => { >+ public => 1, >+ owner => $borrowernumber >+ } > }, > { > join => 'virtualshelfcontents', >-- >2.39.5
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 40143
:
183246
|
183254
| 184669