[Koha-bugs] [Bug 29173] Button "replace authority record via Z39/50/SRU" doesn't pre-fill

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 20 13:19:01 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29173

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com

--- Comment #15 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Katrin Fischer from comment #8)
> Also I wonder if we could avoid querying the record twice, but someone else
> might be better suited to comment on that:
> 
> my $record = GetAuthority($authid);
> my $authobj = Koha::Authorities->find($authid);

Agreed, that certainly could be replaced with

my $authority = Koha::Authorities->find($authid);
my $record = $authority->record;

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list