Back to bug 24228

Who When What Removed Added
tomascohen 2019-12-12 13:02:22 UTC Depends on 23843
tomascohen 2019-12-12 13:02:29 UTC Assignee koha-bugs tomascohen
tomascohen 2019-12-12 13:03:40 UTC CC josef.moravec, kyle, lari.taskula, martin.renvoize
tomascohen 2019-12-19 18:48:25 UTC CC jonathan.druart
tomascohen 2019-12-19 18:48:41 UTC Status NEW ASSIGNED
Assignee tomascohen agustinmoyano
agustinmoyano 2019-12-19 18:59:06 UTC Blocks 20936
tomascohen 2019-12-20 02:50:26 UTC Blocks 18731
agustinmoyano 2019-12-20 23:03:22 UTC Patch complexity --- Small patch
Status ASSIGNED Needs Signoff
tomascohen 2019-12-23 15:39:49 UTC CC tomascohen
tomascohen 2019-12-23 15:39:51 UTC Attachment #96543 Attachment is obsolete 0 1
tomascohen 2019-12-23 17:49:59 UTC Attachment #96613 Attachment is obsolete 0 1
tomascohen 2019-12-23 18:13:19 UTC Blocks 24302
tomascohen 2019-12-23 19:10:50 UTC CC nick
tomascohen 2019-12-24 14:15:41 UTC Attachment #96615 Attachment is obsolete 0 1
tomascohen 2019-12-24 14:16:02 UTC Comment 4 Tag obsolete
tomascohen 2019-12-26 13:00:54 UTC CC oleonard
tomascohen 2019-12-26 13:02:11 UTC Blocks 18731
agustinmoyano 2019-12-26 19:07:02 UTC Blocks 20936
agustinmoyano 2019-12-26 21:22:55 UTC Attachment #96612 Attachment is obsolete 0 1
Attachment #96622 Attachment is obsolete 0 1
tomascohen 2019-12-30 18:06:36 UTC Attachment #96646 Attachment is obsolete 0 1
tomascohen 2019-12-30 18:08:33 UTC Attachment #96645 Attachment is obsolete 0 1
tomascohen 2019-12-30 18:09:02 UTC Comment 9 Tag obsolete
tomascohen 2019-12-30 18:09:06 UTC Comment 8 Tag obsolete
tomascohen 2019-12-30 18:09:15 UTC Comment 5 Tag obsolete
tomascohen 2019-12-30 18:09:20 UTC Comment 3 Tag obsolete
tomascohen 2019-12-30 19:05:44 UTC Depends on 23893
tomascohen 2019-12-30 19:09:55 UTC Comment 11 Tag obsolete
tomascohen 2019-12-30 19:10:35 UTC Attachment #96644 Attachment is obsolete 0 1
tomascohen 2019-12-30 19:10:38 UTC Attachment #96685 Attachment is obsolete 0 1
tomascohen 2020-01-07 15:12:05 UTC Blocks 24366
kyle 2020-01-07 19:12:05 UTC Status Needs Signoff Signed Off
kyle 2020-01-07 19:12:09 UTC Attachment #96686 Attachment is obsolete 0 1
Attachment #96687 Attachment is obsolete 0 1
martin.renvoize 2020-01-08 15:05:44 UTC QA Contact testopia martin.renvoize
martin.renvoize 2020-01-08 15:06:45 UTC Status Signed Off Passed QA
martin.renvoize 2020-01-08 15:07:56 UTC Version(s) released in 20.05.00
Status Passed QA Pushed to master
martin.renvoize 2020-01-08 15:09:00 UTC Keywords release-notes-needed
tomascohen 2020-01-08 15:22:34 UTC Text to go in the release notes This patch introduces a parameter to the Koha::Object class ('embed') that should be a hashref pointing to a data structure following what's documented in the code. This parameter allows the caller to specify things to embed recursively in the API representation of the object. For example: you could request a biblio object with its items attached, like this:

$biblio_json = $biblio->to_api({ embed => { items => {} } });

The main use of this is the API, as introduced by bug 24302.

Koha::Objects->to_api is adjusted to pass its parameters down to the Koha::Object.
tomascohen 2020-01-08 15:26:18 UTC Text to go in the release notes representation of the object. For example: you could request a biblio object with its items attached, like this:

$biblio_json = $biblio->to_api({ embed => { items => {} } });

The main use of this is the API, as introduced by bug 24302.

Koha::Objects->to_api is adjusted to pass its parameters down to the Koha::Object. This patch introduces a parameter to the Koha::Object class ('embed') that should be a hashref pointing to a data structure following what's documented in the code. This parameter allows the caller to specify things to embed recursively in the API
representation of the object. For example: you could request a biblio object with its items attached, like this:

$biblio_json = $biblio->to_api({ embed => { items => {} } });

The names specified for embedding, are used as attribute names on the resulting JSON object, and are expected to be class accessors.

The main use of this is the API, as introduced by bug 24302.

Koha::Objects->to_api is adjusted to pass its parameters down to the Koha::Object. This patch introduces a parameter to the Koha::Object class ('embed') that should be a hashref pointing to a data structure following what's documented in the code. This parameter allows the caller to specify things to embed recursively in the API
martin.renvoize 2020-01-09 16:40:39 UTC Component Architecture, internals, and plumbing REST API
1joynelson 2020-01-18 16:26:13 UTC Status Pushed to master Pushed to stable
Version(s) released in 20.05.00 20.05.00, 19.11.02
CC joy
katrin.fischer 2020-06-04 20:37:51 UTC Resolution --- FIXED
Status Pushed to stable RESOLVED
martin.renvoize 2020-11-12 16:18:45 UTC Keywords release-notes-needed
katrin.fischer 2021-06-14 21:28:55 UTC Status RESOLVED CLOSED

Back to bug 24228