Bugzilla – Attachment 130422 Details for
Bug 29173
Button "replace authority record via Z39/50/SRU" doesn't pre-fill
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29173 : (follow-up) replace method to get the record from the authority
Bug-29173--follow-up-replace-method-to-get-the-rec.patch (text/plain), 1.09 KB, created by
Thibaud Guillot (thibaud_g)
on 2022-02-10 08:46:51 UTC
(
hide
)
Description:
Bug 29173 : (follow-up) replace method to get the record from the authority
Filename:
MIME Type:
Creator:
Thibaud Guillot (thibaud_g)
Created:
2022-02-10 08:46:51 UTC
Size:
1.09 KB
patch
obsolete
>From 1df7bb8a1c39f641942929b809cb41a67f1fe988 Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Thu, 10 Feb 2022 09:45:26 +0100 >Subject: [PATCH] Bug 29173 : (follow-up) replace method to get the record from > the authority > >--- > cataloguing/z3950_auth_search.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/cataloguing/z3950_auth_search.pl b/cataloguing/z3950_auth_search.pl >index 71c5a0b6d6..959eb0cd45 100755 >--- a/cataloguing/z3950_auth_search.pl >+++ b/cataloguing/z3950_auth_search.pl >@@ -35,8 +35,8 @@ my $marcflavour = C4::Context->preference("marcflavour"); > my $error = $input->param('error'); > my $authid = $input->param('authid') || 0; > >-my $record = GetAuthority($authid); >-my $authobj = Koha::Authorities->find($authid); >+my $authority = Koha::Authorities->find($authid); >+my $record = $authority->record; > my $authtypecode = $authobj ? $authobj->authtypecode : ''; > my $authority_type = Koha::Authority::Types->find($authtypecode); > my $authtag = $authority_type->auth_tag_to_report; >-- >2.25.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 29173
:
128378
|
128410
|
128728
|
128730
|
128731
|
128756
|
130192
|
130193
|
130422
|
132443
|
136410
|
136411
|
136440
|
144867
|
144972
|
144983
|
146380
|
146381