Lines 96-101
for my $field ( @$additional_fields ) {
Link Here
|
96 |
|
96 |
|
97 |
my $expiration_date_dt = $expiration_date ? dt_from_string( $expiration_date ) : undef; |
97 |
my $expiration_date_dt = $expiration_date ? dt_from_string( $expiration_date ) : undef; |
98 |
my @subscriptions; |
98 |
my @subscriptions; |
|
|
99 |
my $mana_statuscode; |
99 |
if ($searched){ |
100 |
if ($searched){ |
100 |
if ($mana) { |
101 |
if ($mana) { |
101 |
my $result = Koha::SharedContent::manaGetRequest("subscription",{ |
102 |
my $result = Koha::SharedContent::manaGetRequest("subscription",{ |
Lines 104-109
if ($searched){
Link Here
|
104 |
ean => $EAN, |
105 |
ean => $EAN, |
105 |
publisher => $publisher |
106 |
publisher => $publisher |
106 |
}); |
107 |
}); |
|
|
108 |
$mana_statuscode = $result->{code}; |
107 |
@subscriptions = @{ $result->{data} }; |
109 |
@subscriptions = @{ $result->{data} }; |
108 |
} |
110 |
} |
109 |
else { |
111 |
else { |
Lines 127-132
if ($searched){
Link Here
|
127 |
if ($mana) { |
129 |
if ($mana) { |
128 |
$template->param( |
130 |
$template->param( |
129 |
subscriptions => \@subscriptions, |
131 |
subscriptions => \@subscriptions, |
|
|
132 |
statuscode => $mana_statuscode, |
130 |
total => scalar @subscriptions, |
133 |
total => scalar @subscriptions, |
131 |
title_filter => $title, |
134 |
title_filter => $title, |
132 |
ISSN_filter => $ISSN, |
135 |
ISSN_filter => $ISSN, |
133 |
- |
|
|