Bugzilla – Attachment 194039 Details for
Bug 41880
Logs for moved holds don't indicate original bib number/item number
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41880: Keep original copy of hold for proper logging
Bug-41880-Keep-original-copy-of-hold-for-proper-lo.patch (text/plain), 854 bytes, created by
Lucas Gass (lukeg)
on 2026-02-26 18:44:03 UTC
(
hide
)
Description:
Bug 41880: Keep original copy of hold for proper logging
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-26 18:44:03 UTC
Size:
854 bytes
patch
obsolete
>From bb3aa30da5b7a2033597b74842b766474f61aeee Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 26 Feb 2026 17:36:47 +0000 >Subject: [PATCH] Bug 41880: Keep original copy of hold for proper logging > >--- > Koha/Hold.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Hold.pm b/Koha/Hold.pm >index d886f7d8b55..f4b1b88cf3c 100644 >--- a/Koha/Hold.pm >+++ b/Koha/Hold.pm >@@ -188,10 +188,10 @@ $hold->move_hold(); > sub move_hold { > my ( $self, $args ) = @_; > >- my $original = $self; >+ my $original = $self->unblessed; > my $original_biblionumber = $self->biblionumber; > >- my $found = $original->found // ''; >+ my $found = $self->found // ''; > > if ( $found eq 'W' ) { > return { success => 0, error => 'Cannot move a waiting hold' }; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41880
:
194039
|
194040
|
194181
|
194182
|
194183
|
194188
|
194189
|
194190