]> git.koha-community.org Git - koha.git/commit
Bug 37592: (QA follow-up) Fetch database fields for api return
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Sep 2024 03:59:27 +0000 (04:59 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Sep 2024 04:01:10 +0000 (05:01 +0100)
commit90ba1c1bfe765146c04dfc4e3255dbebd3606ea5
tree001e8a9c79910075522c44641d6a4fc360536c59
parent40d9f2cf184bb9b3c93c54a4500b6aa5d86d0ccf
Bug 37592: (QA follow-up) Fetch database fields for api return

Creation and Modification times are maintained by the database, but on
add/update we were not fetching the updated fields from the database for
the api response.

This patch corrects that and also updates the api schema to reflect that
these are readOnly fields.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/V1/Bookings.pm
api/v1/swagger/definitions/booking.yaml