@@ -, +, @@ --- Koha/Hold.pm | 6 +++--- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 6 +++--- t/db_dependent/Hold.t | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) --- a/Koha/Hold.pm +++ a/Koha/Hold.pm @@ -224,17 +224,17 @@ sub is_in_transit { return $self->found() eq 'T'; } -=head3 is_cancelable +=head3 is_cancelable_from_opac Returns true if hold is a cancelable hold -Holds may be only canceled if they are found. +Holds may be only canceled if they are not found. This is used from the OPAC. =cut -sub is_cancelable { +sub is_cancelable_from_opac { my ($self) = @_; return 1 unless $self->is_found(); --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -695,7 +695,7 @@ Using this account is not recommended because some parts of Koha will not functi [% IF SuspendHoldsOpac %]