View | Details | Raw Unified | Return to bug 14549
Collapse All | Expand All

(-)a/C4/Reserves.pm (-5 / +11 lines)
Lines 664-672 sub GetReserveStatus { Link Here
664
664
665
=head2 CheckReserves
665
=head2 CheckReserves
666
666
667
  ($status, $reserve, $all_reserves) = &CheckReserves($itemnumber);
667
  ($status, $matched_reserve, $possible_reserves) = &CheckReserves($itemnumber);
668
  ($status, $reserve, $all_reserves) = &CheckReserves(undef, $barcode);
668
  ($status, $matched_reserve, $possible_reserves) = &CheckReserves(undef, $barcode);
669
  ($status, $reserve, $all_reserves) = &CheckReserves($itemnumber,undef,$lookahead);
669
  ($status, $matched_reserve, $possible_reserves) = &CheckReserves($itemnumber,undef,$lookahead);
670
670
671
Find a book in the reserves.
671
Find a book in the reserves.
672
672
Lines 1511-1516 C<@results> is an array of references-to-hash whose keys are mostly Link Here
1511
fields from the reserves table of the Koha database, plus
1511
fields from the reserves table of the Koha database, plus
1512
C<biblioitemnumber>.
1512
C<biblioitemnumber>.
1513
1513
1514
This routine with either return:
1515
1 - Item specific holds from the holds queue
1516
2 - Title level holds from the holds queue
1517
3 - All holds for this biblionumber
1518
1519
All return values will respect any borrowernumbers passed as arrayref in $ignore_borrowers
1520
1514
=cut
1521
=cut
1515
1522
1516
sub _Findgroupreserve {
1523
sub _Findgroupreserve {
Lines 1779-1785 sub MoveReserve { Link Here
1779
    my ( $itemnumber, $borrowernumber, $cancelreserve ) = @_;
1786
    my ( $itemnumber, $borrowernumber, $cancelreserve ) = @_;
1780
1787
1781
    my $lookahead = C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds
1788
    my $lookahead = C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds
1782
    my ( $restype, $res, $all_reserves ) = CheckReserves( $itemnumber, undef, $lookahead );
1789
    my ( $restype, $res, undef ) = CheckReserves( $itemnumber, undef, $lookahead );
1783
    return unless $res;
1790
    return unless $res;
1784
1791
1785
    my $biblionumber     =  $res->{biblionumber};
1792
    my $biblionumber     =  $res->{biblionumber};
1786
- 

Return to bug 14549