]> git.koha-community.org Git - koha.git/commit
Bug 37480: Make addroutingmember use Koha::Subscription::Routinglists
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 25 Jul 2024 17:20:09 +0000 (14:20 -0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 16 Sep 2024 08:41:06 +0000 (10:41 +0200)
commit27f94d8f9bc7f8e64d8c40f06e6138c258b4aa58
tree363d3571bc3312a1353a5359d63a3950b6e262f4
parentc895a8d5633fdda1793099fa063010b5da5ace2b
Bug 37480: Make addroutingmember use Koha::Subscription::Routinglists

This patch rewriteis the method so it relies on Koha::Object-based
classes instead of the old way.

To test:
1. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Serials.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Run:
   $ git grep addroutingmember
=> SUCCESS: It is only called on a single .pl file which doesn't care
about the return value. Neither the tests care.
5. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Serials.pm