Bugzilla – Attachment 59492 Details for
Bug 17980
Fix wrong calls to ModZebra in AuthorityMarc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17980: Corresponding fix in DelAuthority
Bug-17980-Corresponding-fix-in-DelAuthority.patch (text/plain), 1.24 KB, created by
Marcel de Rooy
on 2017-01-24 10:23:41 UTC
(
hide
)
Description:
Bug 17980: Corresponding fix in DelAuthority
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-01-24 10:23:41 UTC
Size:
1.24 KB
patch
obsolete
>From cbab50077c1dc62b544c4e4b2fc83fdbdcb32173 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 24 Jan 2017 11:18:40 +0100 >Subject: [PATCH] Bug 17980: Corresponding fix in DelAuthority >Content-Type: text/plain; charset=utf-8 > >The call to ModZebra here does not need more than three parameters. >Same for Zebra and Elastic Search. > >Note: On omnibus bug 17908 a few more fixes are coming on this subject of >deleting authorities. > >Test plan: >[1] Delete an authority. >[2] Search for it in the Authority module. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/AuthoritiesMarc.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 12acee7..ea9fa27 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -709,7 +709,7 @@ sub DelAuthority { > my $dbh=C4::Context->dbh; > > logaction( "AUTHORITIES", "DELETE", $authid, "authority" ) if C4::Context->preference("AuthoritiesLog"); >- ModZebra($authid,"recordDelete","authorityserver",GetAuthority($authid),undef); >+ ModZebra( $authid, "recordDelete", "authorityserver" ); > my $sth = $dbh->prepare("DELETE FROM auth_header WHERE authid=?"); > $sth->execute($authid); > } >-- >2.1.4
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 17980
:
59490
|
59491
|
59492