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

(-)a/C4/Reserves.pm (-3 / +10 lines)
Lines 270-282 sub GetReserve { Link Here
270
270
271
  my $reserves = GetReservesFromBiblionumber({
271
  my $reserves = GetReservesFromBiblionumber({
272
    biblionumber => $biblionumber,
272
    biblionumber => $biblionumber,
273
    itemnumber => $itemnumber,
273
    [ itemnumber => $itemnumber, ]
274
    all_dates => 1|0
274
    [ all_dates => 1|0 ]
275
  });
275
  });
276
276
277
This function gets the list of reservations for one C<$biblionumber>,
277
This function gets the list of reservations for one C<$biblionumber>,
278
returning an arrayref pointing to the reserves for C<$biblionumber>.
278
returning an arrayref pointing to the reserves for C<$biblionumber>.
279
279
280
By default, only reserves whose start date falls before the current
281
time are returned.  To return all reserves, including future ones,
282
the C<all_dates> parameter can be included and set to a true value.
283
284
If the C<itemnumber> parameter is supplied, reserves must be targeted
285
to that item or not targeted to any item at all; otherwise, they
286
are excluded from the list.
287
280
=cut
288
=cut
281
289
282
sub GetReservesFromBiblionumber {
290
sub GetReservesFromBiblionumber {
283
- 

Return to bug 7683