Created attachment 61979 [details] [review] Bug 18401: Add new method Koha::Checkout->patron Return the patron related to a given checkout Test plan: prove t/db_dependent/Koha/Checkouts.t should return green
Created attachment 61985 [details] [review] Bug 18401: Add new method Koha::Checkout->patron Return the patron related to a given checkout Test plan: prove t/db_dependent/Koha/Checkouts.t should return green Signed-off-by: Marc Véron <veron@veron.ch>
Tested on master, setting Version from unspecified to master
Created attachment 62700 [details] [review] Bug 18401: Add new method Koha::Checkout->patron Return the patron related to a given checkout Test plan: prove t/db_dependent/Koha/Checkouts.t should return green Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Pushed to master for 17.05, thanks Jonathan!
This won't get ported back to 16.11.x as it is an enhancement.
Found a bug with this when the checkout has a null borrowernumber. Will spin out a new report.
(In reply to David Cook from comment #7) > Found a bug with this when the checkout has a null borrowernumber. Will spin > out a new report. Nevermind. It's fixed by #21432.