[Koha-bugs] [Bug 19410] Koha::Objects needs a ->search_for_api method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 21 14:23:37 CET 2017


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

--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Julian Maurice from comment #8)
> It feels like search_for_api would fit better as a Mojo helper, given that
> it mostly call other helpers :
> 
>     $vendors = $c->search('Koha::Acquisition::Booksellers');
> 
> What do you think ?

my $plural_object = Koha::Acquisition::Booksellers->new;
my $vendors = $c->object_search( $plural_object );

?

I'm not sure how to call $plural_object :-P

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


More information about the Koha-bugs mailing list