Bug 11492: (follow-up) Don't pass publisheddatetext param to NewIssue
I have removed publisheddatetext as a param from my patch, but only in the places where my patch added it. Any other instance already existed before my patch. Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commitac423d5dcf) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit6b44e31457) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f4e55bbfd7
commit
6a63b21c9f
|
|
@ -1161,7 +1161,7 @@ sub ModSerialStatus {
|
|||
WHERE subscriptionid = ?";
|
||||
$sth = $dbh->prepare($query);
|
||||
$sth->execute( $newlastvalue1, $newlastvalue2, $newlastvalue3, $newinnerloop1, $newinnerloop2, $newinnerloop3, $subscriptionid );
|
||||
NewIssue( $newserialseq, $subscriptionid, $subscription->{'biblionumber'}, 1, $nextpubdate, $nextpubdate, $publisheddatetext, $notes, $routingnotes );
|
||||
NewIssue( $newserialseq, $subscriptionid, $subscription->{'biblionumber'}, 1, $nextpubdate, $nextpubdate, undef, $notes, $routingnotes );
|
||||
# check if an alert must be sent... (= a letter is defined & status became "arrived"
|
||||
if ( $subscription->{letter} && $status == ARRIVED && $oldstatus != ARRIVED ) {
|
||||
require C4::Letters;
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ if($op eq 'gennext' && @subscriptionid){
|
|||
my $planneddate = $date_received_today ? dt_from_string : $nextpublisheddate;
|
||||
## Creating the new issue
|
||||
NewIssue( $newserialseq, $subscriptionid, $subscription->{'biblionumber'},
|
||||
1, $planneddate, $nextpublisheddate, $issue->{publisheddatetext},
|
||||
1, $planneddate, $nextpublisheddate, undef,
|
||||
$issue->{notes}, $issue->{routingnotes} );
|
||||
|
||||
## Updating the subscription seq status
|
||||
|
|
|
|||
Loading…
Reference in New Issue