@@ -, +, @@ --- Koha/Checkout.pm | 2 +- Koha/Old/Checkout.pm | 2 +- Koha/Schema/Result/Issue.pm | 2 +- Koha/Schema/Result/OldIssue.pm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --- a/Koha/Checkout.pm +++ a/Koha/Checkout.pm @@ -102,7 +102,7 @@ Return the patron for who the checkout has been done sub patron { my ( $self ) = @_; - my $patron_rs = $self->_result->borrower; + my $patron_rs = $self->_result->patron; return Koha::Patron->_new_from_dbic( $patron_rs ); } --- a/Koha/Old/Checkout.pm +++ a/Koha/Old/Checkout.pm @@ -69,7 +69,7 @@ Return the patron for who the checkout has been done sub patron { my ( $self ) = @_; - my $patron_rs = $self->_result->borrower; + my $patron_rs = $self->_result->patron; return unless $patron_rs; return Koha::Patron->_new_from_dbic( $patron_rs ); } --- a/Koha/Schema/Result/Issue.pm +++ a/Koha/Schema/Result/Issue.pm @@ -346,7 +346,7 @@ __PACKAGE__->add_columns( ); __PACKAGE__->belongs_to( - "borrower", + "patron", "Koha::Schema::Result::Borrower", { borrowernumber => "borrowernumber" }, { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" }, --- a/Koha/Schema/Result/OldIssue.pm +++ a/Koha/Schema/Result/OldIssue.pm @@ -315,7 +315,7 @@ __PACKAGE__->add_columns( ); __PACKAGE__->belongs_to( - "borrower", + "patron", "Koha::Schema::Result::Borrower", { borrowernumber => "borrowernumber" }, { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" }, --