Bugzilla – Attachment 179935 Details for
Bug 39238
Add links toward private lists in bibliographic record detail page in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39238: Add links toward private lists in biblio
Bug-39238-Add-links-toward-private-lists-in-biblio.patch (text/plain), 1.23 KB, created by
Lucas Gass (lukeg)
on 2025-03-31 09:22:44 UTC
(
hide
)
Description:
Bug 39238: Add links toward private lists in biblio
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-03-31 09:22:44 UTC
Size:
1.23 KB
patch
obsolete
>From a324edbeaf5c87214575d5ade0153ea2b465097b Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Tue, 4 Mar 2025 16:13:55 +0100 >Subject: [PATCH] Bug 39238: Add links toward private lists in biblio > >TEST PLAN: >1 - Create a public list, add a book in the list >2 - Notice there is a link on biblio's details on the intranet >3 - Add the book in a private list, notice there is no link on biblio's > details >4 - Apply patch >5 - Notice there is now a link to the list > >Signed-off-by: Karolina Sumara <karolettaeska@gmail.com> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > catalogue/detail.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index d7d13b2f1dd..c6445d4a201 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -450,7 +450,10 @@ if ( C4::Context->preference("virtualshelves") ) { > my $shelves = Koha::Virtualshelves->search( > { > biblionumber => $biblionumber, >- public => 1, >+ '-or' => { >+ public => 1, >+ owner => $patron->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 39238
:
178929
|
179752
| 179935