Koha-clms/Koha/REST/Plugin
Agustin Moyano b2ad635825
Bug 24356: Make objects.search prefetch embedded relations
This patch makes the Koha::Object(s) derived classes expose information
about prefetch-able relations. This is then used by a new helper to
generate the prefetch information for the DBIC query.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Object* \
           t/db_dependent/Koha/REST/Plugin/Objects.t \
           t/Koha/REST/Plugin/Query.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-24 13:20:57 +00:00
..
Objects.pm Bug 24356: Make objects.search prefetch embedded relations 2020-02-24 13:20:57 +00:00
Pagination.pm Revert "Bug 22026: Removed 'use Modern::Perl;' from Koha::REST::classes" 2019-02-26 11:04:08 -05:00
PluginRoutes.pm Bug 22835: (follow-up) Remove comented code 2019-06-18 17:34:53 +01:00
Query.pm Bug 24356: Make objects.search prefetch embedded relations 2020-02-24 13:20:57 +00:00