Lines 61-66
sub existing_statuses {
Link Here
|
61 |
select => [ 'status', \'MAX(illrequest_id)', 'backend' ], |
61 |
select => [ 'status', \'MAX(illrequest_id)', 'backend' ], |
62 |
as => [qw/ status illrequest_id backend /], |
62 |
as => [qw/ status illrequest_id backend /], |
63 |
group_by => [qw/status backend/], |
63 |
group_by => [qw/status backend/], |
|
|
64 |
order_by => [qw/status backend/], |
64 |
} |
65 |
} |
65 |
); |
66 |
); |
66 |
while ( my $request = $ill_requests->next ) { |
67 |
while ( my $request = $ill_requests->next ) { |
Lines 83-88
sub existing_statuses {
Link Here
|
83 |
select => [ 'status_alias', \'MAX(illrequest_id)', 'backend' ], |
84 |
select => [ 'status_alias', \'MAX(illrequest_id)', 'backend' ], |
84 |
as => [qw/ status_alias illrequest_id backend /], |
85 |
as => [qw/ status_alias illrequest_id backend /], |
85 |
group_by => [qw/status_alias backend/], |
86 |
group_by => [qw/status_alias backend/], |
|
|
87 |
order_by => [qw/status_alias backend/], |
86 |
} |
88 |
} |
87 |
); |
89 |
); |
88 |
while ( my $request = $ill_requests->next ) { |
90 |
while ( my $request = $ill_requests->next ) { |
89 |
- |
|
|