Bug 7126

Summary: Transfer does not prompt with hold information
Product: Koha Reporter: Owen Leonard <oleonard>
Component: CirculationAssignee: Kyle M Hall <kyle.m.hall>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, josef.moravec, martin.renvoize, veron
Version: Main   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/circ/branchtransfers.pl
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 22160    

Description Owen Leonard 2011-11-01 16:21:06 UTC
I recall that at one time if you were transferring an item with a hold the transfers page would prompt you with information about the hold. There is markup in the template for accomplishing this:

            [% IF ( reserved ) %]
                Reserve found for [% name %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowernumber %]</a>).
            [% END %]

...etc.

I have tried transferring an item on hold and do not get any kind of hold confirmation message.
Comment 1 Marc Véron 2015-12-20 15:24:37 UTC
Still valid?
Comment 2 Jonathan Druart 2015-12-21 12:16:02 UTC
(In reply to Marc Véron from comment #1)
> Still valid?

Yes it is, everything is buggy...
Comment 3 Jonathan Druart 2015-12-21 12:17:02 UTC
From C4::Circulation::transferbook

 355     my ( $resfound, $resrec, undef ) =
 356       CheckReserves( $itemnumber );
 357     if ( $resfound and not $ignoreRs ) {
 358         $resrec->{'ResFound'} = $resfound;
 359 
 360         #         $messages->{'ResFound'} = $resrec;
 361         $dotransfer = 1;
 362     }


The line 360 should not be commented I think.
Comment 4 Katrin Fischer 2023-01-07 23:42:52 UTC
This appears to be fixed:

* Place holds on record
* Manually transfer item to another library:

Hold found for koha (42) (51).