]> git.koha-community.org Git - koha.git/commit
Bug 28586: (follow-up) updated_by should be set
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 17 Jun 2021 19:02:35 +0000 (16:02 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 24 Jun 2021 14:07:26 +0000 (10:07 -0400)
commit343bf361e0417f10f79daff767c38c076d039b23
tree7636592caf1e3d266b2466da2e38744583152047
parentf0c208bca84033ecfbeb51ca8e5dea75a8f80f2e
Bug 28586: (follow-up) updated_by should be set

This patch makes the route set the 'updated_by' attribute as well, when
resolving a return claim through the API.

Tests are added for this behavior.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/return_claims.t
=> SUCCESS: Tests pass! updated_by is set correctly!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/REST/V1/ReturnClaims.pm
t/db_dependent/api/v1/return_claims.t