]> git.koha-community.org Git - koha.git/commit
Bug 29523: Remove the FIXME
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 28 Jun 2022 15:50:29 +0000 (16:50 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 27 Oct 2023 19:40:45 +0000 (16:40 -0300)
commit743fac1fe01fc3fdb3ca7b22f3c86981a72b4502
treeb7344fbcb1dbb33ef0bf7232dff3a323e95e3fbf
parent2c502d320efeda7734d8e328f1feaad2dcd64ca8
Bug 29523: Remove the FIXME

This patch works through the unit tests and existing code to allow
removal of the FIXME I introduced earlier in the patchset.

We now require the `user` parameter be passed to `is_accessible` which
in turn makes `user` a required parameter for `to_api` in the
`Koha::Patron` case.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm
Koha/REST/V1/Patrons.pm
t/db_dependent/Koha/Patron.t
t/db_dependent/Koha/REST/Plugin/Objects.t
t/db_dependent/api/v1/acquisitions_baskets.t
t/db_dependent/api/v1/acquisitions_funds.t
t/db_dependent/api/v1/patrons.t