[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
Thu Feb 10 09:49:33 CET 2022


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

--- Comment #22 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
(In reply to Jonathan Druart from comment #20)
> (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?

Yes it's simpler.. I don't know why the first time that I tested I found that
it doesn't work.. its my mistake, sorry.

Changed and tested, it seems to be ok now

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


More information about the Koha-bugs mailing list