]> 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)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Mon, 12 Jul 2021 01:10:35 +0000 (01:10 +0000)
commite302db70b3fc6c6b68f291973a4743d084f77638
tree259d8b8586c2a9e81cce62452326beb9ee6dbc19
parent03a3d6b662ed35266f988990d3b50ac8cba880c8
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>
(cherry picked from commit 343bf361e0417f10f79daff767c38c076d039b23)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit ab02ae9c43dbbfda0bc977cbe952ebb01e0a0056)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
(cherry picked from commit b6e26af2ec28a8b0435ba535ec38ba1528286aa6)
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
(cherry picked from commit b6e26af2ec28a8b0435ba535ec38ba1528286aa6)
Koha/REST/V1/ReturnClaims.pm
t/db_dependent/api/v1/return_claims.t