https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20028 --- Comment #32 from Lari Taskula <lari.taskula@hypernova.fi> --- Added four patches containing a very basic functionality for exporting patron related data. It iterates DBIx Borrower relationships and returns a huge hashref in the following format:
{ "Accountline": [ { "accountline_id": 1, "borrowernumber": 1481, ... }, { "accountline_id": 2, "borrowernumber": 1481, ... } ], "Borrower": { "borrowernumber": 1481, "firstname": "Export", ... }, ..., "Virtualshelve": [ { "shelfnumber": 1, "owner": 1481, ... }, { "shelfnumber": 2, "owner": 1481, ... } ] }
Returns the same thing from REST API, from these two endpoints: GET /api/v1/patrons/123/export (privileged) GET /api/v1/public/patrons/123/export (unprivileged) So it does not yet follow our terminology rules nor add any pagination. Anyway, thoughts about the DBIx relationship approach? -- You are receiving this mail because: You are watching all bug changes.