Bugzilla – Attachment 175769 Details for
Bug 38330
Make bib-level suppression a biblio table field instead of part of a marc tag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38330: Map to biblio.opac_suppressed on saving record
Bug-38330-Map-to-biblioopacsuppressed-on-saving-re.patch (text/plain), 1.81 KB, created by
Andrew Fuerste-Henry
on 2024-12-19 14:49:45 UTC
(
hide
)
Description:
Bug 38330: Map to biblio.opac_suppressed on saving record
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2024-12-19 14:49:45 UTC
Size:
1.81 KB
patch
obsolete
>From 4d42dd726bf3b9cb9d3f0e9d1102aad65afab366 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 18 Dec 2024 09:34:44 -0300 >Subject: [PATCH] Bug 38330: Map to biblio.opac_suppressed on saving record > >Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> >--- > C4/Biblio.pm | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 6f36813c98..647aee75c2 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -2588,17 +2588,18 @@ sub _koha_modify_biblio { > serial = ?, > seriestitle = ?, > copyrightdate = ?, >- abstract = ? >+ abstract = ?, >+ opac_suppressed = ? > WHERE biblionumber = ? > " > ; > my $sth = $dbh->prepare($query); > > $sth->execute( >- $frameworkcode, $biblio->{'author'}, $biblio->{'title'}, $biblio->{'subtitle'}, >- $biblio->{'medium'}, $biblio->{'part_number'}, $biblio->{'part_name'}, $biblio->{'unititle'}, >- $biblio->{'notes'}, $biblio->{'serial'}, $biblio->{'seriestitle'}, $biblio->{'copyrightdate'} ? int($biblio->{'copyrightdate'}) : undef, >- $biblio->{'abstract'}, $biblio->{'biblionumber'} >+ $frameworkcode, $biblio->{'author'}, $biblio->{'title'}, $biblio->{'subtitle'}, >+ $biblio->{'medium'}, $biblio->{'part_number'}, $biblio->{'part_name'}, $biblio->{'unititle'}, >+ $biblio->{'notes'}, $biblio->{'serial'}, $biblio->{'seriestitle'}, $biblio->{'copyrightdate'} ? int($biblio->{'copyrightdate'}) : undef, >+ $biblio->{'abstract'}, $biblio->{'opac_suppressed'}, $biblio->{'biblionumber'} > ) if $biblio->{'biblionumber'}; > > my $cache = Koha::Cache::Memory::Lite->get_instance(); >-- >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 38330
:
175648
|
175649
|
175650
|
175651
|
175767
|
175768
|
175769
|
175770
|
179335
|
179336
|
179337
|
179338
|
179339
|
179340
|
179341