Bugzilla – Attachment 120558 Details for
Bug 18989
Allow displaying biblios with all items hidden by OpacHiddenItems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18989: Restore hidding items on detail
Bug-18989-Restore-hidding-items-on-detail.patch (text/plain), 1021 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2021-05-05 17:19:57 UTC
(
hide
)
Description:
Bug 18989: Restore hidding items on detail
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-05-05 17:19:57 UTC
Size:
1021 bytes
patch
obsolete
>From 6a3a1cb2d228937ad85d899db959c4009cc8a680 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 4 May 2021 12:18:40 +0200 >Subject: [PATCH] Bug 18989: Restore hidding items on detail > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Good catch. I forgot this file didn't get the hiding logic refactoring >yet. >--- > opac/opac-detail.pl | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index e2ea7e709e3..6173b728622 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -106,6 +106,10 @@ unless ( $patron and $patron->category->override_hidden_items ) { > print $query->redirect('/cgi-bin/koha/errors/404.pl'); # escape early > exit; > } >+ if ( scalar @all_items >= 1 ) { >+ push @hiddenitems, >+ GetHiddenItemnumbers( { items => \@all_items, borcat => $patron ? $patron->categorycode : undef } ); >+ } > } > > my $framework = $biblio ? $biblio->frameworkcode : q{}; >-- >2.31.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 18989
:
109656
|
109657
|
114738
|
116000
|
116001
|
116002
|
116003
|
119524
|
119784
|
119785
|
119786
|
119787
|
119788
|
120137
|
120138
|
120171
|
120431
|
120432
| 120558