Main Koha release repository https://koha-community.org
Find a file
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
acqui Bug 21921: Add date publication year to biblio Z39.50 search form in acquisition 2020-02-17 13:44:34 +00:00
admin Bug 17702: Add UI to manage account credit types 2020-02-20 14:46:33 +00:00
api/v1 Bug 24592: Reword LOST_RETURN to LOST_FOUND 2020-02-13 15:58:49 +00:00
authorities Bug 24103: Add option to dump search query to templates 2020-02-19 15:58:41 +00:00
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
C4 Bug 24629: SIP patron items contains an array of hashes 2020-02-24 13:18:36 +00:00
catalogue Bug 18433: Allow to select results to export in item search 2020-02-19 16:07:58 +00:00
cataloguing Bug 24103: Add option to dump search query to templates 2020-02-19 15:58:41 +00:00
circ Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
clubs Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
course_reserves Bug 21003: Removed warning and changed wording on add_items-step2.tt 2019-03-23 09:51:36 +00:00
debian Bug 24588: (RM follow-up) Update debian/control 2020-02-21 17:13:17 +00:00
docs
errors
etc
ill
installer Bug 24707: Remove AMICUS from default fr-CA z39.50 servers 2020-02-24 10:03:32 +00:00
Koha Bug 24356: Make objects.search prefetch embedded relations 2020-02-24 13:20:57 +00:00
koha-tmpl Bug 24682: Make UsageStatsGeolocation readonly (and redirect to the config page) 2020-02-24 13:17:15 +00:00
labels
members Bug 22359: Prevent undercollection at the server 2020-02-21 15:39:41 +00:00
misc Bug 24211: Compress/uncompress translation files 2020-02-24 13:19:31 +00:00
offline_circ
opac Bug 23482: Fix BakerTaylor cover images on lists 2020-02-21 15:44:01 +00:00
OpenILS
patron_lists Bug 19524: Use existing logged_in_user variable 2018-07-18 16:49:30 +00:00
patroncards
plugins
pos
reports Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
reserve Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
reviews
rotating_collections
serials Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
services
skel
suggestion Bug 23594: Restore previous view after delete or update itemtype 2020-01-30 10:56:57 +00:00
svc
t Bug 24356: Make objects.search prefetch embedded relations 2020-02-24 13:20:57 +00:00
tags
tmp/modified_authorities
tools Bug 14647: (follow-up) Changes to script 2020-02-20 08:59:31 +00:00
virtualshelves Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
xt
.editorconfig Bug 12545: Add EditorConfig.org file to the source tree 2014-08-22 11:07:45 -03:00
.eslintrc.json
.gitignore
.htaccess
.mailmap Update mailmap - Jonathan Druart 2017-06-21 12:42:19 -03:00
.scss-lint.yml
about.pl Bug 19735: Add support for max_ver 2020-02-12 16:33:02 +00:00
changelanguage.pl
cpanfile Bug 24693: Move GD from recommends to requires in cpanfile 2020-02-24 13:18:08 +00:00
fix-perl-path.PL
gulpfile.js
help.pl Bug 19817: Use the language from the interface if valid 2018-09-06 17:32:28 +00:00
INSTALL
Koha.pm Bug 17702: DBRev 19.12.00.029 2020-02-20 14:51:24 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 19735: Move Perl deps definitions into a cpanfile 2020-02-12 16:33:02 +00:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo