[Koha-bugs] [Bug 20446] QUOTES processing broken by run time error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 26 10:11:01 CEST 2018


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

--- Comment #21 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #20)
> The original problem is that we are calling ->find on Koha::Object instead
> of the   set class (Koha::Objects)
> 
> -                my $basket = Koha::Acquisition::Basket->find( $basketno );
> +                my $basket = Koha::Acquisition::Baskets->find( $basketno );
> 
> Sounds like the correct fix to me. Could someone confirm?

Read the above comments. There is no need to retrieve the basket which you have
just created.

It was being retrieved to find a parameter that was set based on the
systempreference. It introduce3s extra processing for no purpose

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


More information about the Koha-bugs mailing list