|
Lines 100-105
sub enqueue {
Link Here
|
| 100 |
|
100 |
|
| 101 |
my $borrowernumber = C4::Context->userenv->{number}; # FIXME Handle non GUI calls |
101 |
my $borrowernumber = C4::Context->userenv->{number}; # FIXME Handle non GUI calls |
| 102 |
my $json_args = encode_json $job_args; |
102 |
my $json_args = encode_json $job_args; |
|
|
103 |
|
| 104 |
my $conn = $self->connect; # Ensure we can reach the server |
| 105 |
|
| 103 |
$self->set( |
106 |
$self->set( |
| 104 |
{ |
107 |
{ |
| 105 |
status => 'new', |
108 |
status => 'new', |
|
Lines 115-121
sub enqueue {
Link Here
|
| 115 |
$json_args = encode_json $job_args; |
118 |
$json_args = encode_json $job_args; |
| 116 |
|
119 |
|
| 117 |
try { |
120 |
try { |
| 118 |
my $conn = $self->connect; |
|
|
| 119 |
# This namespace is wrong, it must be a vhost instead. |
121 |
# This namespace is wrong, it must be a vhost instead. |
| 120 |
# But to do so it needs to be created on the server => much more work when a new Koha instance is created. |
122 |
# But to do so it needs to be created on the server => much more work when a new Koha instance is created. |
| 121 |
# Also, here we just want the Koha instance's name, but it's not in the config... |
123 |
# Also, here we just want the Koha instance's name, but it's not in the config... |
| 122 |
- |
|
|