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

(-)a/svc/checkouts (-2 / +1 lines)
Lines 270-276 while ( my $c = $sth->fetchrow_hashref() ) { Link Here
270
  unless ( C4::Context->preference('todaysIssuesDefaultSortOrder') eq 'desc' );      # earliest to latest
270
  unless ( C4::Context->preference('todaysIssuesDefaultSortOrder') eq 'desc' );      # earliest to latest
271
271
272
@checkouts_previous =
272
@checkouts_previous =
273
  sort { $a->{date_due} eq $b->{date_due} ? $a->{timestamp} cmp $b->{timestamp} : $a->{date_due} cmp $b->{date_due} }
273
  sort { $a->{date_due} cmp $b->{date_due} || $a->{timestamp} cmp $b->{timestamp} }
274
  @checkouts_previous;                                                               # latest to earliest
274
  @checkouts_previous;                                                               # latest to earliest
275
@checkouts_previous = reverse(@checkouts_previous)
275
@checkouts_previous = reverse(@checkouts_previous)
276
  unless ( C4::Context->preference('previousIssuesDefaultSortOrder') eq 'desc' );    # earliest to latest
276
  unless ( C4::Context->preference('previousIssuesDefaultSortOrder') eq 'desc' );    # earliest to latest
277
- 

Return to bug 23427