Bug 36480: Add Koha::Library->desks
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 1 Apr 2024 20:22:22 +0000 (20:22 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 24 May 2024 08:10:44 +0000 (10:10 +0200)
commit0cf193f7399e452ed29a9924b46494c575df7dd4
tree8615104812c71f033630927d416dfc9170b3709e
parentd46b6d96ac0b87e966861c3c224214a5810e9eec
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>
(cherry picked from commit 7f7f486d94e52eb50d070ccead61c94928aeff28)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Library.pm
t/db_dependent/Koha/Library.t