Lines 48-53
my $biblionumber = $query->param('biblionumber');
Link Here
|
48 |
my @subscriptionid = $query->multi_param('subscriptionid'); |
48 |
my @subscriptionid = $query->multi_param('subscriptionid'); |
49 |
my $skip_issues = $query->param('skip_issues') || 0; |
49 |
my $skip_issues = $query->param('skip_issues') || 0; |
50 |
my $count_forward = $skip_issues + 1; |
50 |
my $count_forward = $skip_issues + 1; |
|
|
51 |
my $referrer = $query->param('referrer'); |
51 |
|
52 |
|
52 |
@subscriptionid= uniq @subscriptionid; |
53 |
@subscriptionid= uniq @subscriptionid; |
53 |
@subscriptionid= sort @subscriptionid; |
54 |
@subscriptionid= sort @subscriptionid; |
Lines 104-110
if($op eq 'cud-gennext' && @subscriptionid){
Link Here
|
104 |
last if $nbissues == 1; |
105 |
last if $nbissues == 1; |
105 |
last if HasSubscriptionExpired($subscriptionid) > 0; |
106 |
last if HasSubscriptionExpired($subscriptionid) > 0; |
106 |
} |
107 |
} |
107 |
print $query->redirect('/cgi-bin/koha/serials/serials-collection.pl?subscriptionid='.$subscriptionid); |
108 |
if ($referrer eq "serials-edit") { |
|
|
109 |
print $query->redirect('/cgi-bin/koha/serials/serials-edit.pl?subscriptionid='.$subscriptionid.'&serstatus=1,3'); |
110 |
} |
111 |
else { |
112 |
print $query->redirect('/cgi-bin/koha/serials/serials-collection.pl?subscriptionid='.$subscriptionid); |
113 |
} |
108 |
exit; |
114 |
exit; |
109 |
} |
115 |
} |
110 |
|
116 |
|
111 |
- |
|
|