https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30982
--- Comment #15 from Martin Renvoize <[email protected]> --- (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. _______________________________________________ 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/
