Bug 22690: (QA follow-up) Use relationship accessor
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 22 Jul 2021 09:57:17 +0000 (10:57 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Aug 2021 09:02:41 +0000 (11:02 +0200)
commit2e5bfbc5a7681831faf19d64506a38ce3a597fa7
tree827a487ace345b5852da3f35013dcbb14f6aaa54
parent8e19ecd51e047c99075e19366d4c56314049f42d
Bug 22690: (QA follow-up) Use relationship accessor

With the addition of foreign key relationships to the linktracker table
we now get a DBIC relationship accessor we can use. This clarifies the
code slightly by using the _result->relationship form to get the DBIC
resultset.  We should still introduce a Koha::Object based class for
this table at some point.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Item.pm