Bugzilla – Attachment 120432 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), 890 bytes, created by
Jonathan Druart
on 2021-05-04 10:19:49 UTC
(
hide
)
Description:
Bug 18989: Restore hidding items on detail
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-05-04 10:19:49 UTC
Size:
890 bytes
patch
obsolete
>From d063395ee3001feb0c72c761bdd7fe4daa3e9a1c 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 > >--- > 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.20.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