]> git.koha-community.org Git - koha.git/commit
Bug 30294: Rename Koha::Recall->* used relationship names
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 14 Mar 2022 17:47:36 +0000 (14:47 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 Mar 2022 20:50:51 +0000 (10:50 -1000)
commit03ea475759eacb1918d8d3c69a23b4be4910dcc7
tree15e6310a09a4f62dfe6cb52217e700940075ce94
parent78ecdc84391ccfd7b8bdfba9464da5b46ff4f68a
Bug 30294: Rename Koha::Recall->* used relationship names

This patch renames the underlaying relationship names used in the
'patron' and 'library' subs so they are more clearly prefetchable and
also enabling them to be embeddable and searchable through an eventual
API route for recalls.

To test:
1. Apply the patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Recall*
=> SUCCESS: Tests pass, nothing really changes
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Recall.pm
Koha/Schema/Result/Recall.pm