Bug 36480: Add Koha::Library->desks
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 1 Apr 2024 20:22:22 +0000 (20:22 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Apr 2024 16:06:09 +0000 (18:06 +0200)
commit7f7f486d94e52eb50d070ccead61c94928aeff28
tree7d1b94b19187776ed920b906de37a3b1fb58443f
parent7a32231a52d9d1d5007ad574b8e3b48fd4c99878
Bug 36480: Add Koha::Library->desks

We add an accessor for the related desks. Tests are added.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Library.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Library.pm
t/db_dependent/Koha/Library.t