Bug 38515: Keep serial notes when generating next serial.
This patch prevents the loss of notes in serials when generating next serial Test plan: 1 Create a subscription, fill the notes field for the serial with Expected status and activate the system preference PreserveSerialNotes 2 Click Generate next 3 Check that the notes from the now Late serial are gone and that the new serial doesn't have notes. 4 Apply patch, restart services 5 Edit the serial with Expected status to fill the notes field. 6 Click Generate next 7 Check that the notes from the now Late serial are kepts and that they have been copied to the new serial. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
92c6516651
commit
117b7eb0eb
|
|
@ -71,7 +71,7 @@ if($op eq 'cud-gennext' && @subscriptionid){
|
|||
my $planneddate = $date_received_today ? dt_from_string : $issue->{planneddate};
|
||||
ModSerialStatus( $issue->{serialid}, $issue->{serialseq},
|
||||
$planneddate, $issue->{publisheddate},
|
||||
$issue->{publisheddatetext}, $status, "", $count_forward );
|
||||
$issue->{publisheddatetext}, $status, $issue->{notes}, $count_forward );
|
||||
} else {
|
||||
require C4::Serials::Numberpattern;
|
||||
my $subscription = GetSubscription($subscriptionid);
|
||||
|
|
|
|||
Loading…
Reference in New Issue