https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23838

--- Comment #41 from Tomás Cohen Arazi <[email protected]> ---
(In reply to Katrin Fischer from comment #40)
> Hm, for the API it might be good to get opinions of people more familiar
> with it.
> 
> I can see the issue about statistics and action_logs not having all the
> information we need. :(
> 
> I would not be opposed to improve the tables in a way that allows us to link
> it reliably. The issue_id is not that old (given the age of Koha), so maybe
> that's the main reason we haven't been logging it? It seems the way that
> things are we will keep "guessing" to some extend as not even the timestamp
> could be slightly different on action_logs and lastrenewed.

We should add something like:

parent_issue_id
is_renewal

to the issues table.

And then make /checkouts/:checkout_id/renewals return, well, the renewals.
I wouldn't oppose to an intermediate solution 'in the meantime' but it is not
clear the data is good enough to make the route reliable right now.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to