]> git.koha-community.org Git - koha.git/commit
Bug 33493: Add a filter relationship for branchtransfers
authorNick Clemens <nick@bywatersolutions.com>
Fri, 10 Mar 2023 16:14:50 +0000 (16:14 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 12 Jul 2023 06:42:51 +0000 (07:42 +0100)
commit99070d7b4ad8af40f73018d7e6e0d3964bc3dbff
tree1826993a4b86fb0022ac8916416642c39df26463
parent7bfa0c5cadd831f04be718a0ab4575a9c63b4a06
Bug 33493: Add a filter relationship for branchtransfers

Prefetching is useful, but we don't want to fetch all the inactive
transfers for an item. This patch adds a filtered relationship and
updates get_transfer(s) to use this

To test:
prove -v t/db_dependent/Koha/Item.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 6c2e092d5b120d251e161ab914ce342fddd35a5a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Item.pm
Koha/Schema/Result/Item.pm