Bugzilla – Attachment 183254 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.22 KB, created by
David Nind
on 2025-06-14 05:29:45 UTC
(
hide
)
Description:
Bug 40143: Added links to private lists in bibliographic record detail page in OPAC
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-06-14 05:29:45 UTC
Size:
1.22 KB
patch
obsolete
>From 6ce8308dac66f63e0ce0d6f28e9bd46b53540e08 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> >--- > 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