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

--- Comment #22 from Thibaud Guillot <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to