[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
Tue Feb 8 18:35:19 CET 2022


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

--- Comment #20 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Jonathan Druart from comment #15)
> (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;

What about this, Thibaud?

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


More information about the Koha-bugs mailing list