Created attachment 57335 [details] [review] Bug 17585: Add the Koha::Patron->get_account_lines method Test plan: prove t/db_dependent/Koha/Patrons.t should return green
Created attachment 57336 [details] [review] Bug 17585: Add the Koha::Patron->get_account_lines method Test plan: prove t/db_dependent/Koha/Patrons.t should return green
This patch looks like based on top of 17580... should we make it dependency, or is it better to rebase, what do you think?
(In reply to Josef Moravec from comment #3) > This patch looks like based on top of 17580... should we make it dependency, > or is it better to rebase, what do you think? Yes indeed, it depends on bug 17580, but it will conflict with bug 17583, we need some of them to be pushed to rebase them.
(In reply to Jonathan Druart from comment #4) > (In reply to Josef Moravec from comment #3) > > This patch looks like based on top of 17580... should we make it dependency, > > or is it better to rebase, what do you think? > > Yes indeed, it depends on bug 17580, but it will conflict with bug 17583, we > need some of them to be pushed to rebase them. Totally agree, we need to go out of this dependency hell ;)
Created attachment 57899 [details] [review] Bug 17585: Add the Koha::Patron->get_account_lines method Test plan: prove t/db_dependent/Koha/Patrons.t should return green
To test, apply bug 17580 first, then bug 17583
Created attachment 57902 [details] [review] [SIGNED-OFF] Bug 17585: Add the Koha::Patron->get_account_lines method Test plan: prove t/db_dependent/Koha/Patrons.t should return green Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Created attachment 57930 [details] [review] Bug 17585: Add the Koha::Patron->get_account_lines method Test plan: prove t/db_dependent/Koha/Patrons.t should return green Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 57987 [details] [review] Bug 17585: Add the Koha::Patron->get_account_lines method Test plan: prove t/db_dependent/Koha/Patrons.t should return green Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 57988 [details] [review] Bug 17586: Replace ->get_account_lines with ->account And return a Koha::Account instead of a Koha::Account::Lines
Created attachment 57989 [details] [review] Bug 17585: Replace ->get_account_lines with ->account And return a Koha::Account instead of a Koha::Account::Lines
(In reply to Jonathan Druart from comment #12) > Created attachment 57989 [details] [review] [review] > Bug 17585: Replace ->get_account_lines with ->account > > And return a Koha::Account instead of a Koha::Account::Lines See bug 17586 comment 8
Pushed to master for 17.05, thanks Jonathan!
This won't get ported back to 16.11.x as it is an enhancement.