https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20028 --- Comment #21 from Lari Taskula <lari.taskula@hypernova.fi> --- What about using DBIx to determine the chain of relations to the borrowers-table? This way we could keep it dynamic, only relying on the foreign keys in our database schema. The issue then is to format this data in a nice way, suitable for REST API output. But I believe this is an issue with any approach we take. Of course some Koha::Schema::Result::* already correspond to a Koha::Object that may have a database.column <=> API-terminology mapping, but I would imagine a lot of them do not. Should we first implement something that simply returns all the data related to a patron, and if someone wants to focus on formatting it nicely, then solve that issue in another Bug? -- You are receiving this mail because: You are watching all bug changes.