Bugzilla – Attachment 170633 Details for
Bug 31161
OAI-PMH - Honour OpacHiddenItems system preferences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31161: (QA follow-up) Remove FIXME
Bug-31161-QA-follow-up-Remove-FIXME.patch (text/plain), 1.31 KB, created by
Nick Clemens (kidclamp)
on 2024-08-23 13:39:43 UTC
(
hide
)
Description:
Bug 31161: (QA follow-up) Remove FIXME
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-08-23 13:39:43 UTC
Size:
1.31 KB
patch
obsolete
>From 785e2f7ef646ebb995e9dbf726c84c3768e2a9d6 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 23 Aug 2024 13:39:08 +0000 >Subject: [PATCH] Bug 31161: (QA follow-up) Remove FIXME > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/OAI/Server/Repository.pm | 14 +++++--------- > 1 file changed, 5 insertions(+), 9 deletions(-) > >diff --git a/Koha/OAI/Server/Repository.pm b/Koha/OAI/Server/Repository.pm >index 7db7f874b6d..cef649169f9 100644 >--- a/Koha/OAI/Server/Repository.pm >+++ b/Koha/OAI/Server/Repository.pm >@@ -195,16 +195,12 @@ sub get_biblio_marcxml { > } > if ($record) { > >- #FIXME: Syspref this? >- my $hide_record = 1; >- if ($hide_record) { >- my $rules = C4::Context->yaml_preference('OpacHiddenItems') // {}; >- if ( $biblio->hidden_in_opac( { rules => $rules } ) ) { >- return; >- } >- >- #TODO: Also hide record if OpacSuppression is in use >+ my $rules = C4::Context->yaml_preference('OpacHiddenItems') // {}; >+ if ( $biblio->hidden_in_opac( { rules => $rules } ) ) { >+ return; > } >+ >+ #TODO: Also hide record if OpacSuppression is in use > } > if ( $record && $expanded_avs ) { > my $frameworkcode = GetFrameworkCode($biblionumber) || ''; >-- >2.39.2
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 31161
:
170280
|
170300
|
170301
|
170353
|
170354
|
170632
| 170633 |
171074