[Koha-bugs] [Bug 30982] Use the REST API for background job list view
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 6 12:05:11 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30982
--- Comment #15 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #14)
> (In reply to Martin Renvoize from comment #13)
> > Created attachment 136715 [details] [review] [review]
> > Bug 30982: Make code more re-usable
>
> Shouldn't you call search_limited instead of search then?
We do so internally:
https://git.koha-community.org/Koha-community/Koha/src/branch/master/Koha/REST/Plugin/Objects.pm#L189-L191
So $c->objects->search is calling a mojolicious helper method above.. as you
can see it looks for the presence of a search_limited in the plural object and
calls it in place of search if one is found.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list