]> git.koha-community.org Git - koha.git/commit
Bug 22690: (QA follow-up) Add TrackedLink classes and use them
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 22 Jul 2021 10:40:20 +0000 (11:40 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Aug 2021 09:02:41 +0000 (11:02 +0200)
commitc958dec78527415385dc51b4b43c5774d5b6ed2a
tree66e195aa883e7994be39f904c54c1e42368e05d1
parent2e5bfbc5a7681831faf19d64506a38ce3a597fa7
Bug 22690: (QA follow-up) Add TrackedLink classes and use them

This patch adds Koha::TrackedLink(s) classes based on Koha::Object(s)
and then adds the relationship accessor to Koha::Item and uses it within
the move_to_biblio method.

Tests for new relationship also added to t/db_dependent/Koha/Item.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Item.pm
Koha/TrackedLink.pm [new file with mode: 0644]
Koha/TrackedLinks.pm [new file with mode: 0644]
t/db_dependent/Koha/Item.t