Koha-clms/Koha/Old
Tomas Cohen Arazi 5a8ebd6951
Bug 38678: Fix wrong attribute mapping in Koha::Old::Biblio
Because the mapping was defined in the wrong direction, it is not
possible to filter results in `GET /deleted/biblios` neither on the
`deleted_on` attribute, or even the fallback to DB fields when mappings
don't exist, on `timestamp`.

To test:
1. Apply the regression tests patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/deleted_biblios.t
=> FAIL: A 200 returns a 500 instead
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass, behavior is correct
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 5d59ec0baa)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-02-04 21:40:55 +01:00
..
Biblio Bug 33960: Add objects and update schema 2024-04-22 08:57:49 +02:00
Biblio.pm Bug 38678: Fix wrong attribute mapping in Koha::Old::Biblio 2025-02-04 21:40:55 +01:00
Biblioitem.pm
…
Biblioitems.pm
…
Biblios.pm Bug 33960: Add api mapping and biblioitems to Old::Biblios to match Biblio 2024-04-22 08:57:50 +02:00
Checkout.pm Bug 33641: (follow-up) Add field to api spec 2024-11-15 09:13:19 +01:00
Checkouts.pm
…
Hold.pm Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
Holds.pm
…
Item.pm
…
Items.pm
…
Patron.pm
…
Patrons.pm
…