The export tool in cataloging exports biblios with item data in the 952 field by default. It would be nice if the /biblios api did the same
Created attachment 191440 [details] [review] Bug 41618: Add item metadata in biblios get and list API results Test plan: 1- Make an API request to both /biblios and /biblios/{biblio_id} 2- Notice the 952 field for items is missing for both 3- Apply patch 4- Repeat step 1 and notice item metadata is there in 952 field 5- Run `prove t/db_dependent/Koha/Objects/Record/Collections.t` There should be no side effect to /deleted/biblios or /authorities API
I like this. I would like it to be controlled on the API request by `x-koha-embed: items` though.
oops. Clicked too fast. I meant for consistency on the API and for not changing behavior.
Created attachment 191496 [details] [review] Bug 41618: Add item metadata in biblios get and list API results Test plan: 1- Make an API request to both /biblios and /biblios/{biblio_id} 2- Notice the 952 field for items is missing for both 3- Apply patch 4- Repeat step 1 and notice item metadata is there in 952 field 5- Run `prove t/db_dependent/Koha/Objects/Record/Collections.t` There should be no side effect to /deleted/biblios or /authorities API
Created attachment 191497 [details] [review] Bug 41618: Add x-koha-embed 'items' flag to preserve default behavior