|
Lines 216-221
if ( $backends_available ) {
Link Here
|
| 216 |
handle_commit_maybe($backend_result, $request); |
216 |
handle_commit_maybe($backend_result, $request); |
| 217 |
|
217 |
|
| 218 |
} elsif ( $op eq 'cud-edit_action' ) { |
218 |
} elsif ( $op eq 'cud-edit_action' ) { |
|
|
219 |
$op =~ s/^cud-//; |
| 219 |
# Handle edits to the Illrequest object. |
220 |
# Handle edits to the Illrequest object. |
| 220 |
# (not the Illrequestattributes) |
221 |
# (not the Illrequestattributes) |
| 221 |
# We simulate the API for backend requests for uniformity. |
222 |
# We simulate the API for backend requests for uniformity. |
|
Lines 225-231
if ( $backends_available ) {
Link Here
|
| 225 |
order_by => { -asc => 'name' } |
226 |
order_by => { -asc => 'name' } |
| 226 |
}); |
227 |
}); |
| 227 |
if ( !$params->{stage} ) { |
228 |
if ( !$params->{stage} ) { |
| 228 |
$op =~ s/^cud-//; |
|
|
| 229 |
my $backend_result = { |
229 |
my $backend_result = { |
| 230 |
error => 0, |
230 |
error => 0, |
| 231 |
status => '', |
231 |
status => '', |
| 232 |
- |
|
|