Browse Source

Bug 22049: (QA follow-up) update MarkIssueReturned call in process_koc.pl

Test plan:
Try to upload koc file with some returns
Success: the file should be correctly processed

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
19.05.x
Josef Moravec 3 years ago
committed by Nick Clemens
parent
commit
5e1fd6218c
  1. 3
      C4/Circulation.pm
  2. 1
      offline_circ/process_koc.pl

3
C4/Circulation.pm

@ -2111,7 +2111,8 @@ C<$privacy> contains the privacy parameter. If the patron has set privacy to 2,
the old_issue is immediately anonymised
Ideally, this function would be internal to C<C4::Circulation>,
not exported, but it is currently used in misc/cronjobs/longoverdue.pl.
not exported, but it is currently used in misc/cronjobs/longoverdue.pl
and offline_circ/process_koc.pl.
=cut

1
offline_circ/process_koc.pl

@ -335,7 +335,6 @@ sub kocReturnItem {
C4::Circulation::MarkIssueReturned(
$borrowernumber,
$item->itemnumber,
undef,
$circ->{'date'},
$patron->privacy
);

Loading…
Cancel
Save